WO2021169691A1 - 出站信息处理方法和装置、可穿戴设备、计算机存储介质 - Google Patents

出站信息处理方法和装置、可穿戴设备、计算机存储介质 Download PDF

Info

Publication number
WO2021169691A1
WO2021169691A1 PCT/CN2021/073198 CN2021073198W WO2021169691A1 WO 2021169691 A1 WO2021169691 A1 WO 2021169691A1 CN 2021073198 W CN2021073198 W CN 2021073198W WO 2021169691 A1 WO2021169691 A1 WO 2021169691A1
Authority
WO
WIPO (PCT)
Prior art keywords
outbound
identification code
wearable device
processor
preset memory
Prior art date
Application number
PCT/CN2021/073198
Other languages
English (en)
French (fr)
Inventor
陈贤军
Original Assignee
Oppo广东移动通信有限公司
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 Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Publication of WO2021169691A1 publication Critical patent/WO2021169691A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • G06K19/067Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components
    • G06K19/07Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components with integrated circuit chips
    • G06K19/0701Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components with integrated circuit chips at least one of the integrated circuit chips comprising an arrangement for power management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3206Monitoring of events, devices or parameters that trigger a change in power modality
    • G06F1/3212Monitoring battery levels, e.g. power saving mode being initiated when battery voltage goes below a certain level
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/3296Power saving characterised by the action undertaken by lowering the supply or operating voltage
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • G06K19/067Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components
    • G06K19/07Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components with integrated circuit chips

Definitions

  • This application relates to the field of computer technology, in particular to a method and device for processing outbound information, wearable devices, and computer-readable storage media.
  • an outbound information processing method device, wearable device, and computer-readable storage medium are provided.
  • the power consumption; the method includes:
  • the outbound identification code is saved in a preset memory that can be read by the second system.
  • the power consumption; the method includes:
  • the outbound identification code is saved in a preset memory that can be read by the second system.
  • An outbound information processing device applied to wearable devices including:
  • the identification code generation module is used to generate an outbound identification code according to the obtained equipment inbound instruction when the first system is running;
  • a power acquisition module configured to acquire the remaining power value of the wearable device
  • the identification code saving module is configured to save the outbound identification code to a preset memory that can be read by the second system when the remaining power value is less than the first power threshold.
  • a wearable device includes a memory and a processor, and a computer program is stored in the memory.
  • the processor is caused to perform the following operations:
  • the outbound identification code is saved in a preset memory that can be read by the second system.
  • the outbound identification code is saved in a preset memory that can be read by the second system.
  • the above-mentioned outbound information processing method and device, wearable device, and computer-readable storage medium can generate an outbound identification code according to the obtained device inbound instruction when the first system is running, and obtain the remaining power value of the wearable device, When the remaining power value is less than the first power threshold, save the outbound identification code to the preset memory; the preset memory can be read by the second system whose power consumption is less than that of the first system, so that when the power of the wearable device cannot support the second system When a system is running, the outbound identification code can be read by the second system with lower power consumption to complete the outbound operation, which reduces the risk that the outbound operation cannot be completed due to insufficient power.
  • Fig. 1 is a schematic diagram of the internal structure of a wearable device in an embodiment.
  • Fig. 2 is a flowchart of an outbound information processing method in an embodiment.
  • Fig. 3 is a flowchart of an outbound information processing method in an embodiment.
  • Fig. 4 is a flowchart of a method for processing outbound information in another embodiment.
  • Fig. 5 is a flowchart of a method for processing outbound information in another embodiment.
  • Fig. 6 is a structural block diagram of an outbound information processing device according to an embodiment.
  • first the terms “first”, “second”, etc. used in this application can be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish the first element from another element.
  • the first processor may be referred to as the second processor, and similarly, the second processor may be referred to as the first processor. Both the first processor and the second processor are processors, but they are not the same processor.
  • Fig. 1 is a schematic diagram of the internal structure of a wearable device in an embodiment.
  • the provided wearable device includes a first processor 110 corresponding to the first system and a second processor 120 corresponding to the second system.
  • the first processor 110 and the second processor 120 are both microprocessors, and the first processor 110 is a core processor.
  • the first processor 110 and the second processor 120 may be configured with corresponding microprocessors according to actual applications, and the first processor 110 and the second processor 120 are not limited here.
  • the first processor 110 may be a CPU (Central Process Unit, central processing unit) processor, corresponding to the first system may be an Android system; the second processor 120 may be an MCU (Micro controller Unit, micro controller) Control unit) processor; the corresponding second system may be an RTOS (Real Time Operating System, real-time operating system) system.
  • CPU Central Process Unit
  • MCU Micro controller Unit, micro controller
  • RTOS Real Time Operating System, real-time operating system
  • the wearable device may include one or more of sensors such as a heart rate sensor 121, an acceleration + gyroscope 122, an atmospheric pressure sensor 123, a touch sensor 124, a magnetic sensor 125, and a micro-pressure sensor 126; the second processor 120 can be connected to a sensor included in the wearable device to obtain data collected by the sensor; the second processor 120 can also be connected to a GPS (Global Positioning System, global positioning system) module 127 to obtain positioning data received by the GPS antenna ; And connected with the DEBUG module 128 for outputting the debug data of the wearable device.
  • sensors such as a heart rate sensor 121, an acceleration + gyroscope 122, an atmospheric pressure sensor 123, a touch sensor 124, a magnetic sensor 125, and a micro-pressure sensor 126
  • the second processor 120 can be connected to a sensor included in the wearable device to obtain data collected by the sensor
  • the second processor 120 can also be connected to a GPS (Global Positioning System, global positioning system) module
  • the first processor 110 and the second processor 120 are connected through an SPI (Serial Peripheral Interface), so that the first system and the second system can transmit communication data through the SPI bus.
  • the display screen 130 is connected to the first processor 110 and the second processor 120 through MIPI (Mobile Industry Processor Interface), and can display data output by the first processor 110 or the second processor 120.
  • the first processor 110 also includes a sensor hub driver, which can be used to drive data collection and processing of each sensor.
  • the wearable device can provide at least two working modes: watch mode and bracelet mode.
  • watch mode both the first system and the second system are running, and the wearable device is controlled by the first system.
  • bracelet mode When the wearable device is in the bracelet mode, the first system is closed, the second system is running, and the wearable device is controlled by the second system.
  • Fig. 2 is a flowchart of an outbound information processing method in an embodiment. As shown in FIG. 2, in one embodiment, the outbound information processing method is applied to the above-mentioned wearable device for description, and the outbound information processing method includes:
  • the device entry indication is used to indicate that the wearable device has entered the corresponding traffic controlled area.
  • the area of traffic control may include, but is not limited to, various exhibition venues, commercial buildings, or transportation equipment such as high-speed railways, subways, and buses.
  • the access control method is adopted for the area of the traffic control, that is, the entry and exit of the equipment need to be realized through the identification code.
  • Outbound identification code refers to an identification code that can be scanned by outbound gates to complete outbound operations.
  • the outbound identification code can be a barcode, a QR code, etc.
  • the first system operation of the wearable device indicates that the wearable device is in watch mode.
  • the first system has a network connection function.
  • the wearable device can obtain the device inbound instruction sent by the server, and generate an outbound identification code according to the obtained device inbound instruction.
  • the device entry instruction is generated by the server based on the device information contained in the entry identification code after the entry gate scans the entry identification code generated by the wearable device.
  • the wearable device may further include: obtaining the inbound request input by the user, generate an inbound identification code according to the inbound request, and receive the device inbound based on the inbound identification code. instruct.
  • the inbound request may be generated by the user by pressing a button of the wearable device, or generated by touching a control of the wearable device, or generated by the wearable device after recognizing the movement trajectory.
  • the remaining power value of the wearable device refers to the ratio of the available power in the battery of the wearable device to the nominal capacity.
  • the wearable device can obtain the remaining power value in real time.
  • Operation 206 when the remaining power value is less than the first power threshold, save the outbound identification code to a preset memory that can be read by the second system.
  • the first power threshold may be determined according to actual usage requirements.
  • the first power threshold may be 10%, 15%, 20%, 30%, etc., but is not limited thereto.
  • the preset memory is a memory that can be read by the second system.
  • the preset memory may be a memory shared by the first system and the second system, or may be an internal memory corresponding to the second system.
  • the first system can provide more complete functions for the wearable device, and the second system provides the basic functions of the wearable device.
  • the wearable device's power consumption when running the first system is greater than the power consumption when running the second system.
  • the wearable device can detect the remaining power value in real time, and when the remaining power value is lower than the first power threshold, save the outbound identification code to a preset memory that can be read by the second system.
  • the wearable device may generate a mode switching instruction when determining that the remaining power value is less than the first power threshold value, and send the outbound identification code to the preset memory according to the mode switching instruction. Further, the wearable device can switch the watch mode to the bracelet mode, that is, turn off the first system of the wearable device, thereby saving the power of the wearable device, and ensuring that the wearable device can be used in the low-power bracelet mode Read the outbound identification code to complete the outbound operation.
  • the wearable device can generate an outbound identification code according to the obtained device inbound instruction when the first system is running, and obtain the remaining power value of the wearable device. When the remaining power value is less than the first power
  • the outbound identification code is saved to the preset memory; the preset memory can be read by the second system whose power consumption is less than that of the first system, so that when the power of the wearable device cannot support the operation of the first system, it can pass the function
  • the second system with lower consumption reads the outbound identification code to complete the outbound operation, reducing the risk of not being able to complete the outbound operation due to insufficient power.
  • the provided outbound information processing method may further include: when the remaining power value is greater than or equal to the first power threshold, acquiring a mode switching instruction; and saving the outbound identification code to the preset memory according to the mode switching instruction.
  • the wearable device can also obtain the mode switching instruction input by the user.
  • the mode switching instruction is used to instruct the wearable device to switch from the watch mode to the bracelet mode, that is, to turn off the first system and control the operation of the second system.
  • the mode switching instruction can be generated by the wearable device according to the user's button pressing operation; it can also be generated according to the user's touch operation on the interface controls of the wearable device; it can also be generated according to the trajectory and movement of the wearable device Wait.
  • the wearable device may save the outbound identification code to the preset memory according to the acquired mode switching instruction, and shut down the first system.
  • the wearable device When the wearable device is in the low-power bracelet mode, it cannot connect to the network to generate an outbound identification code.
  • the wearable device can send the outbound identification code generated during the operation of the first system to the preset memory when it obtains the mode switching instruction, and then shut down the first system to switch to the bracelet mode, which can avoid the situation of sufficient battery power , Because the user actively switches the operation mode, the wearable device needs to be switched to the watch mode to read the outbound identification code when going out of the station.
  • Fig. 3 is a flowchart of an outbound information processing method in an embodiment. As shown in Figure 3, in one embodiment, the provided outbound information processing method includes:
  • operation 306 it is determined whether the remaining power value is less than the first threshold, if not, then go to operation 308; if yes, go to operation 312.
  • the outbound identification code is saved to the preset memory according to the mode switching instruction, and operation 314 is entered.
  • the outbound identification code is saved to a preset memory that can be read by the second system, and operation 314 is entered.
  • an outbound request instruction is obtained based on the running second system.
  • the wearable device can run the second system to obtain the outbound request instruction input by the user.
  • the outbound request instruction is used to instruct the wearable device to read and display the outbound identification code.
  • Operation 316 obtain and display the outbound identification code from the preset storage.
  • the wearable device can obtain and display the outbound identification code from the preset memory according to the outbound request instruction. Specifically, the wearable device can display the read outbound identification code on the display screen. The displayed outbound identification code can be scanned by the outbound gate, so that the traffic control server controls the outbound gate opening according to the information contained in the outbound identification code to complete the outbound operation of the device. Optionally, when the traffic control needs to pay a fee, the traffic control server may deduct the corresponding fee from the payment account corresponding to the terminal identification according to the terminal identification corresponding to the outbound identification code.
  • the wearable device Before switching the operating mode in different situations, the wearable device first sends the outbound identification code generated by the first system to the preset server, and then shuts down the first system; it can ensure that the wearable device enters the low-power mode After that, the outbound identification code can still be read to complete the outbound operation, reducing the risk of failure to perform outbound operations.
  • the provided outbound information processing method may further include: when the remaining power value is lower than the second power threshold, saving the outbound identification code to the terminal connected to the wearable device; wherein, the second power threshold Less than or equal to the first power threshold.
  • Terminals can be electronic devices such as mobile phones, personal computers, and wearable devices.
  • the connection between the wearable device and the terminal refers to the completion of wireless network pairing between the wearable device and the terminal, or the wearable device and the terminal share the same account; thus, the wearable device can perform information sharing operations with the terminal.
  • the second power threshold is less than or equal to the first power threshold. Specifically, when the remaining power value of the wearable device is lower than the second power threshold, it indicates that the wearable device is at risk of shutting down due to insufficient power. For example, when the first power threshold is 20%, the second power threshold may be 5%, 10%, 15%, etc., which are not limited here.
  • the wearable device may send the outbound identification code to the terminal connected to the wearable device when the remaining power value is less than the second power threshold, and the terminal saves the outbound identification code.
  • the wearable device when the remaining power value of the wearable device is less than the first power threshold and the first system is turned off, if a mode switching instruction of the wearable device is received, the wearable device may preset The outbound identification code stored in the memory is sent to the terminal, and then the first system is turned on; the situation that the wearable device cannot complete the outbound operation due to the high power consumption of the first system can be avoided.
  • the mode switching instruction is used to instruct the wearable device to switch from the bracelet mode to the watch mode.
  • the outbound identification code By sending the outbound identification code to the terminal connected to the wearable device when the remaining power value is lower than the second power threshold; if the wearable device is shut down due to insufficient power when leaving the station, the outbound operation can be completed through the terminal. Effectively avoid the situation where the wearable device cannot leave the station due to insufficient power.
  • the method before saving the outbound identification code to the terminal connected to the wearable device in the provided outbound information processing method, the method further includes: obtaining the distance value between the wearable device and the connected terminal; when the distance value is When it is less than the distance threshold, the operation of saving the outbound identification code to the terminal connected to the wearable device is performed.
  • the wearable device and the connected terminal may not be in a state of synchronized movement, that is, the device holder does not carry the wearable device and the terminal at the same time.
  • the wearable device can determine whether the wearable device and the terminal are in a synchronized motion state by detecting the distance value between the wearable device and the connected terminal. Specifically, the wearable device can determine the distance between the wearable device and the terminal through the signal strength of the wireless network of the connected terminal; it can also acquire the location of the wearable device through the global positioning system, and the receiving terminal acquires it through the global positioning system According to the terminal position of the two, the distance between the two is determined according to the position of the two.
  • the distance threshold is characterized as the maximum distance between the wearable device and the terminal when the device owner carries the wearable device and the terminal at the same time.
  • the distance threshold can be obtained through experimental data analysis.
  • the distance threshold may be 0.5 meters, 1 meter, 1.5 meters, etc., which are not limited here.
  • the wearable device can send the outbound identification code to the terminal, and the terminal will display the outbound identification code to complete the outbound operation;
  • the wearable device does not send the outbound identification code to the terminal.
  • the wearable device can issue a low battery indication and reject other operation requests except the outbound request instruction .
  • the outbound identification code is sent to the terminal, which can avoid the device holding Some people do not carry a terminal and cannot perform outbound operations through the terminal, and the outbound information processing is invalid, which can improve the accuracy of outbound information processing.
  • the provided outbound information processing method may further include: obtaining the device outbound instruction sent by the terminal; and deleting the outbound identification code in the preset memory according to the device outbound instruction.
  • the outbound identification code displayed by the wearable device After the outbound identification code displayed by the wearable device is scanned by the outbound gate, the outbound identification code stored in the memory of the wearable device can be automatically deleted.
  • the terminal may send the device outbound instruction received after the outbound operation is completed to the wearable device.
  • the wearable device can delete the outbound identification code in the preset memory according to the outbound instruction of the device.
  • the wearable device obtains the device outbound instruction sent by the terminal, and deletes the outbound identification code in the preset memory according to the device outbound instruction, which can clear the invalid information of the preset memory in time and increase the remaining space of the preset memory.
  • the problem of subsequent reading errors caused by the used outbound identification code of the wearable device is avoided, and the accuracy of outbound information processing is improved.
  • the processor where the first system is located and the processor where the second system is located are connected through a serial peripheral interface bus; in the method for processing outbound information, the outbound identification code is saved to the second system.
  • the preset memory read by the system includes: sending the outbound identification code to the processor where the second system is located through the serial peripheral interface bus; saving the outbound identification code to the preset memory through the processor where the second system is located .
  • the processor where the first system is located and the processor where the second system is located are connected by a serial peripheral interface bus.
  • the processor where the first system is located is the CPU processor
  • the processor where the second system is located is the MCU processor.
  • the CPU processor and the MCU processor can be connected via a serial peripheral interface bus, that is, an SPI bus, and data can be transmitted via the SPI bus.
  • the wearable device can send the generated outbound identification code via the SPI bus to the processor where the second system is located through the first system, and the processor where the second system is located can read and save the preset memory.
  • the memory can be a flash memory or other non-volatile memory, which is not limited here.
  • Fig. 4 is a flowchart of a method for processing outbound information in another embodiment. As shown in Figure 4, in one embodiment, the provided outbound information processing method includes:
  • Operation 408 Obtain a mode switching instruction.
  • the outbound identification code is saved to the preset memory according to the mode switching instruction.
  • Operation 412 Save the outbound identification code to a preset memory that can be read by the second system.
  • operation 414 it is determined whether the remaining power value is less than the second threshold, if yes, then go to operation 416; if not, go to operation 420.
  • the outbound identification code is saved to the terminal connected to the wearable device.
  • the wearable device can also obtain the distance value between the wearable device and the connected terminal; when the distance value is less than the distance threshold, the outbound identification code is saved to the terminal connected to the wearable device.
  • Operation 418 Obtain the device outbound instruction sent by the terminal; according to the device outbound instruction, delete the outbound identification code in the preset memory.
  • an outbound request instruction is obtained based on the running second system.
  • Operation 422 according to the outbound request instruction, obtain and display the outbound identification code from the preset storage.
  • Fig. 5 is a flowchart of a method for processing outbound information in another embodiment. As shown in Figure 5, in one embodiment, the provided outbound information processing method includes:
  • the terminal may determine that the remaining power value is lower than the corresponding power threshold, and send the outbound identification code to the wearable device, and the wearable device may obtain the outbound identification code sent by the terminal.
  • the wearable device may shut down the first system after saving the outbound identification code in a preset memory that can be read by the second system, so as to save power consumption of the wearable device.
  • the wearable device may obtain a mode switching instruction; according to the mode switching instruction, save the outbound identification code to a preset memory, and shut down the first system.
  • the wearable device sends the outbound identification code to the processor where the second system is located through the serial peripheral interface bus; and saves the outbound identification code to the preset memory through the processor where the second system is located.
  • the wearable device may also obtain the outbound identification code sent by the terminal connected to the wearable device when the second system is running, and the wearable device may save the obtained outbound identification code to the preset through the second system. Set in memory.
  • the wearable device may obtain an outbound request instruction based on the running second system; according to the outbound request instruction, obtain and display an outbound identification code from a preset storage.
  • the wearable device can obtain the device outbound instruction sent by the terminal; according to the device outbound instruction, delete the outbound identification code in the preset memory.
  • the outbound identification code is saved to the preset memory; It is assumed that the memory can be read by the second system whose power consumption is less than that of the first system, so that when the power of the wearable device cannot support the operation of the first system, the outbound identification code can be read by the second system with lower power consumption.
  • Fig. 6 is a structural block diagram of an outbound information processing device according to an embodiment. As shown in FIG. 6, the outbound information processing device includes an identification code generation module 602, a power acquisition module 604, and an identification code storage module 606, where:
  • the identification code generation module 602 is configured to generate an outbound identification code according to the obtained device inbound instruction when the first system is running.
  • the power acquisition module 604 is used to acquire the remaining power value of the wearable device
  • the identification code storage module 606 is configured to save the outbound identification code to a preset memory that can be read by the second system when the remaining power value is less than the first power threshold.
  • the outbound information processing device provided by the embodiment of the present application can generate an outbound identification code according to the obtained device inbound instruction when the first system is running, and obtain the remaining power value of the wearable device. When the remaining power value is less than the first When the power threshold is set, the outbound identification code is saved to the preset memory; the preset memory can be read by the second system whose power consumption is less than that of the first system, so that when the power of the wearable device cannot support the operation of the first system, it can pass The second system with lower power consumption reads the outbound identification code to complete the outbound operation, reducing the risk that the outbound operation cannot be completed due to insufficient power.
  • the identification code storage module 606 may also be used to obtain a mode switching instruction when the remaining power value is greater than or equal to the first power threshold; and save the outbound identification code to the preset memory according to the mode switching instruction.
  • the provided outbound information processing device may further include an identification code display module 608, which is used to obtain an outbound request instruction based on the running second system; It is assumed that the outbound identification code is obtained and displayed in the storage.
  • the provided outbound information processing device may further include an identification code sending module 610, which is configured to save the outbound identification code to the storage device when the remaining power value is lower than the second power threshold.
  • the terminal connected to the wearable device; wherein the second power threshold is less than or equal to the first power threshold.
  • the identification code sending module 610 is also used to obtain the distance value between the wearable device and the connected terminal; when the distance value is less than the distance threshold, the outbound identification code is saved to the connection with the wearable device. Operation of the terminal.
  • the provided outbound information processing apparatus may further include an identification code deletion module 612, which is used to obtain the device outbound instruction sent by the terminal; according to the device outbound instruction, the preset memory The outbound identification code is deleted.
  • an identification code deletion module 612 which is used to obtain the device outbound instruction sent by the terminal; according to the device outbound instruction, the preset memory The outbound identification code is deleted.
  • the identification code saving module 606 can also be used to send the outbound identification code to the processor where the second system is located through the serial peripheral interface bus; Save to preset memory.
  • an outbound information processing device is also provided, and the outbound information processing device may include:
  • the identification code acquisition module is used to acquire the outbound identification code sent by the terminal connected to the wearable device when the first system is running.
  • the power acquisition module is used to acquire the remaining power value of the wearable device
  • the identification code storage module is used to save the outbound identification code to a preset memory that can be read by the second system when the remaining power value is less than the first power threshold.
  • each module in the above-mentioned outbound information processing apparatus is only for illustration. In other embodiments, the outbound information processing apparatus can be divided into different modules as needed to complete all or part of the above-mentioned outbound information processing apparatus. Function.
  • each module in the above-mentioned outbound information processing device may be implemented in whole or in part by software, hardware, and a combination thereof.
  • the above-mentioned modules may be embedded in the form of hardware or independent of the processor in the computer equipment, or may be stored in the memory of the computer equipment in the form of software, so that the processor can call and execute the operations corresponding to the above-mentioned modules.
  • a wearable device in one embodiment, includes a processor and a memory connected through a system bus.
  • the processor provides computing and control capabilities to support the operation of the entire wearable device.
  • the memory may include a non-volatile storage medium and internal memory.
  • the non-volatile storage medium stores an operating system and a computer program.
  • the computer program may be executed by the processor to implement an outbound information processing method provided in the following embodiments.
  • the internal memory provides a cached operating environment for the operating system computer program in the non-volatile storage medium.
  • the processor includes a first processor corresponding to the first system and a second processor corresponding to the second system.
  • each module in the outbound information processing device provided in the embodiment of the present application may be in the form of a computer program.
  • the computer program can be run on a terminal or a server.
  • the program module composed of the computer program can be stored in the memory of the terminal or the server.
  • the embodiment of the present application also provides a computer-readable storage medium.
  • One or more non-volatile computer-readable storage media containing computer-executable instructions when the computer-executable instructions are executed by one or more processors, cause the processors to perform the operations of the outbound information processing method.
  • a computer program product containing instructions that, when run on a computer, causes the computer to execute an outbound information processing method.
  • Non-volatile memory may include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory.
  • Volatile memory may include random access memory (RAM), which acts as external cache memory.
  • RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous Link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
  • SRAM static RAM
  • DRAM dynamic RAM
  • SDRAM synchronous DRAM
  • DDR SDRAM double data rate SDRAM
  • ESDRAM enhanced SDRAM
  • SLDRAM synchronous Link (Synchlink) DRAM
  • Rambus direct RAM
  • DRAM direct memory bus dynamic RAM
  • RDRAM memory bus dynamic RAM

Abstract

一种出站信息处理方法,包括:在第一系统运行时,根据获取的设备进站指示生成出站标识码;获取可穿戴设备的剩余电量值;当剩余电量值小于第一电量阈值时,将出站标识码保存至能够被第二系统读取的预设存储器。

Description

出站信息处理方法和装置、可穿戴设备、计算机存储介质
相关申请的交叉引用
本申请要求于2020年02月28日提交中国专利局、申请号为202010129160.1、发明名称为“出站信息处理方法和装置、可穿戴设备、计算机存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及计算机技术领域,特别是涉及一种出站信息处理方法和装置、可穿戴设备、计算机可读存储介质。
背景技术
随着计算机技术的发展,电子标识码的应用越来越广泛。目前,越来越多的交通设备、展览场馆、商业大厦等利用电子标识码实现通行管制。以利用电子标识码乘坐地铁为例,人们可以将智能设备生成的入站标识码提供给地铁入口闸机进行扫描,以进入地铁,当到达目的地时,再将智能设备生成的出站标识码提供给地铁出口闸机进行扫描,即可以离开地铁并完成费用的支付。然而,传统方法中存在因智能设备电量不足导致无法完成出站操作的风险。
发明内容
根据本申请的各种实施例提供一种出站信息处理方法、装置、可穿戴设备、计算机可读存储介质。
一种出站信息处理方法,应用于可穿戴设备,所述可穿戴设备包括第一系统和第二系统,所述可穿戴设备运行所述第二系统的功耗低于运行所述第一系统的功耗;所述方法包括:
在所述第一系统运行时,根据获取的设备进站指示生成出站标识码;
获取所述可穿戴设备的剩余电量值;
当所述剩余电量值小于第一电量阈值时,将所述出站标识码保存至能够被所述第二系统读取的预设存储器。
一种出站信息处理方法,应用于可穿戴设备,所述可穿戴设备包括第一系统和第二系统,所述可穿戴设备运行所述第二系统的功耗低于运行所述第一系统的功耗;所述方法包括:
在所述第一系统运行时,获取与所述可穿戴设备连接的终端发送的出站标识码;
获取所述可穿戴设备的剩余电量值;
当所述剩余电量值低于第一电量阈值时,将所述出站标识码保存至能够被所述第二系统读取的预设存储器。
一种出站信息处理装置,应用于可穿戴设备,包括:
标识码生成模块,用于在第一系统运行时,根据获取的设备进站指示生成出站标识码;
电量获取模块,用于获取所述可穿戴设备的剩余电量值;
标识码保存模块,用于当所述剩余电量值小于第一电量阈值时,将所述出站标识码保存至能够被第二系统读取的预设存储器。
一种可穿戴设备,包括存储器及处理器,所述存储器中储存有计算机程序,所述计算机程序被所述处理器执行时,使得所述处理器执行如下操作:
在所述第一系统运行时,根据获取的设备进站指示生成出站标识码;
获取所述可穿戴设备的剩余电量值;
当所述剩余电量值小于第一电量阈值时,将所述出站标识码保存至能够被所述第二系统读取的预设存储器。
一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现如下操作:
在所述第一系统运行时,根据获取的设备进站指示生成出站标识码;
获取所述可穿戴设备的剩余电量值;
当所述剩余电量值小于第一电量阈值时,将所述出站标识码保存至能够被所述第二系统读取的预设存储器。
上述出站信息处理方法和装置、可穿戴设备、计算机可读存储介质,可以在第一系统运行时,根据获取的设备进站指示生成出站标识码,并获取可穿戴设备的剩余电量值,当剩余电量值小于第一电量阈值时,将出站标识码保存至预设存储器;预设存储器能够被功耗小于第一系统的第二系统读取,使得当可穿戴设备的电量无法支撑第一系统运行时,可以通过功耗较低的第二系统读取该出站标识码以完成出站操作,降低因电量不足导致无法完成出站操作的风险。
附图说明
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为一个实施例中可穿戴设备的内部结构示意图。
图2为一个实施例中出站信息处理方法的流程图。
图3为一个实施例中出站信息处理方法的流程图。
图4为另一个实施例中出站信息处理方法的流程图。
图5为又一个实施例中出站信息处理方法的流程图。
图6为一个实施例的出站信息处理装置的结构框图。
具体实施方式
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。
可以理解,本申请所使用的术语“第一”、“第二”等可在本文中用于描述各种元件,但这些元件不受这些术语限制。这些术语仅用于将第一个元件与另一个元件区分。举例来说,在不脱离本申请的范围的情况下,可以将第一处理器称为第二处理器,且类似地,可将第二处理器称为第一处理器。第一处理器和第二处理器两者都是处理器,但其不是同一处理器。
图1为一个实施例中可穿戴设备的内部结构示意图。如图1所示,在一个实施例中,提供的可穿戴设备包括对应于第一系统的第一处理器110和对应于第二系统的第二处理器120。第一处理器110和第二处理器120均为微处理器,其中,第一处理器110为核心处理器。第一处理器110和第二处理器120可以根据实际应用配置相应的微处理器,在此不做第一处理器110和第二处理器120进行限定。例如,以第一处理器110可以是CPU(Central Process Unit,中央处理器)处理器,对应于第一系统可以是安卓(Android)系统;第二处理器120可以是MCU(Micro controller Unit,微控制单元)处理器;对应的第二系统可以是RTOS(Real Time Operating System,实时操作系统)系统。
具体地,可穿戴设备可以包括心率传感器121、加速度+陀螺仪122、大气压力传感器123、触摸传感器124、磁力传感器125、微压差传感器126等传感器中的一种或多种;第二处理器120可以与可穿戴设备包含的传感器连接,用于获取传感器采集的数据;第二处理器120还可以与GPS(Global Positioning System,全球定位系统)模块127连接,用于获取GPS天线接收的定位数据;及与调试(DEBUG)模块128连接,用于输出可穿戴设备的调试数据。
第一处理器110和第二处理器120之间通过SPI(Serial Peripheral Interface,串行外设接口)连接,从而第一系统和第二系统可以通过SPI总线进行通信数据的传输。显示屏 130通过MIPI(Mobile Industry Processor Interface,移动产业处理器接口)与第一处理器110和第二处理器120连接,可以将第一处理器110或第二处理器120输出的数据进行展示。第一处理器110还包括传感器集线器驱动,可以用于驱动各传感器的数据采集及处理。
在一个实施例中,可穿戴设备可以提供至少两种工作模式:手表模式和手环模式,可穿戴设备处于手表模式时,第一系统和第二系统均运行,可穿戴设备由第一系统控制;可穿戴设备处于手环模式时,第一系统关闭,第二系统运行,可穿戴设备由第二系统控制。
图2为一个实施例中出站信息处理方法的流程图。如图2所示,在一个实施例中,以出站信息处理方法应用于上述可穿戴设备进行说明,该出站信息处理方法包括:
操作202,在第一系统运行时,根据获取的设备进站指示生成出站标识码。
设备进站指示用于表征可穿戴设备已经进入对应的通行管制的区域。其中,通行管制的区域可以包括但不限于是各种展览场馆、商业大厦、或交通设备如高速铁路、地铁、公共汽车等。在本申请实施例中,通行管制的区域采用出入控制的方式,即设备进站和出站均需要通过标识码来实现。出站标识码是指能够被出站闸机扫描,以完成出站操作的标识码。出站标识码可以是条形码、二维码等。
可穿戴设备的第一系统运行,说明可穿戴设备处于手表模式。第一系统具备网络连接功能,在第一系统运行时,可穿戴设备可以获取由服务器发送设备进站指示,并根据获取的设备进站指示生成出站标识码。其中,该设备进站指示是由进站闸机扫描可穿戴设备生成的进站标识码后,服务器根据进站标识码包含的设备信息生成的。
可选地,可穿戴设备获取设备进站指示之前,还可以包括:获取用户输入的进站请求,根据该进站请求生成进站标识码,并接收基于该进站标识码返回的设备进站指示。其中,进站请求可以是用户通过按压可穿戴设备的按钮生成的,也可以是通过触摸可穿戴设备的控件生成的,还可以是可穿戴设备识别移动的轨迹后生成的等。
操作204,获取可穿戴设备的剩余电量值。
可穿戴设备的剩余电量值是指可穿戴设备的电池内可用电量占标称容量的比例。可穿戴设备可以实时获取剩余电量值。
操作206,当剩余电量值小于第一电量阈值时,将出站标识码保存至能够被第二系统读取的预设存储器。
第一电量阈值可以根据实际使用需求来确定。例如,第一电量阈值可以为10%、15%、20%、30%等不限于此。预设存储器是能够被第二系统读取的存储器。可选地,预设存储器可以是第一系统和第二系统共用的存储器,也可以是第二系统对应的内存储器。
第一系统可以为可穿戴设备提供较为完备的功能,第二系统提供可穿戴设备的基本功能,则可穿戴设备运行第一系统的功耗大于运行第二系统时的功耗。可穿戴设备可以实时检测剩余电量值,当剩余电量值低于第一电量阈值时,则将出站标识码保存至能够被第二系统读取的预设存储器。
具体地,可穿戴设备可以在确定剩余电量值小于第一电量阈值时,则生成模式切换指令,根据模式切换指令将出站标识码发送给预设存储器。进一步地,可穿戴设备可以将手表模式切换至手环模式,即关闭可穿戴设备的第一系统,从而节省可穿戴设备的电量,并且保证在低功耗的手环模式下,可穿戴设备可以读取出站标识码以完成出站操作。
本申请提供的实施例中,可穿戴设备可以在第一系统运行时,根据获取的设备进站指示生成出站标识码,并获取可穿戴设备的剩余电量值,当剩余电量值小于第一电量阈值时,将出站标识码保存至预设存储器;预设存储器能够被功耗小于第一系统的第二系统读取,使得当可穿戴设备的电量无法支撑第一系统运行时,可以通过功耗较低的第二系统读取该出站标识码以完成出站操作,降低因电量不足导致无法完成出站操作的风险。
在一个实施例中,提供的出站信息处理方法还可以包括:当剩余电量值大于或等于第一电量阈值时,获取模式切换指令;根据模式切换指令将出站标识码保存至预设存储器。
可穿戴设备也可以获取由用户输入的模式切换指令。在该实施例中,模式切换指示用于 指示可穿戴设备由手表模式切换至手环模式,即关闭第一系统,由第二系统控制运行。模式切换指令可以是可穿戴设备根据用户对按钮的按压操作生成的;也可以是根据用户对可穿戴设备的界面控件的触摸操作生成;还可以是根据可穿戴设备移动的轨迹、动作等生成的等。
可穿戴设备可以根据获取的模式切换指令将出站标识码保存至预设存储器,并关闭第一系统。
可穿戴设备处于低功耗的手环模式时,无法连接网络以生成出站标识码。可穿戴设备可以在获取到模式切换指令时,将第一系统运行时生成的出站标识码发送给预设存储器之后,再关闭第一系统以切换至手环模式,可以避免在电量充足情况下,由于用户主动切换运行模式,在出站时需要将可穿戴设备再切换至手表模式以读取出站标识码导致的操作复杂的问题,可以提高出站操作的简便性。
图3为一个实施例中出站信息处理方法的流程图。如图3所示,在一个实施例中,提供的出站信息处理方法包括:
操作302,在第一系统运行时,根据获取的设备进站指示生成出站标识码。
操作304,获取可穿戴设备的剩余电量值。
操作306,确定剩余电量值是否小于第一阈值,若否,则进入操作308;若是,则进入操作312。
操作308,获取模式切换指令。
操作310,根据模式切换指令将出站标识码保存至预设存储器,进入操作314。
操作312,将出站标识码保存至能够被第二系统读取的预设存储器,进入操作314。
操作314,基于运行的第二系统,获取出站请求指令。
可穿戴设备可以运行第二系统,获取用户输入的出站请求指令。出站请求指令用于指示可穿戴设备读取并展示出站标识码。
操作316,根据出站请求指令,从预设存储中获取并展示出站标识码。
可穿戴设备可以根据出站请求指令,从预设存储器中获取并展示出站标识码。具体地,可穿戴设备可以在显示屏上展示读取的出站标识码。展示的出站标识码可以被出站闸机扫描,以使通行管制的服务器根据出站标识码包含的信息控制出站闸机开闸,完成设备出站操作。可选地,当通行管制需要支付费用时,通行管制的服务器可以根据出站标识码对应的终端标识,从终端标识对应的支付账户中扣除对应的费用。
通过在不同情况下进行运行模式的切换之前,可穿戴设备先将第一系统生成的出站标识码发送至预设服务器中,再关闭第一系统;可以确保在可穿戴设备进入低功耗模式之后,仍可以读取出站标识码完成出站操作,降低出现无法进行出站操作的风险。
在一个实施例中,提供的出站信息处理方法还可以包括:当剩余电量值低于第二电量阈值时,将出站标识码保存至与可穿戴设备连接的终端;其中,第二电量阈值小于或等于第一电量阈值。
终端可以手机、个人电脑、可穿戴设备等电子设备。可穿戴设备与终端连接是指可穿戴设备与终端完成无线网络配对、或者可穿戴设备与终端共用同一个账户;从而可穿戴设备可以与终端进行信息共享的操作。第二电量阈值小于或等于第一电量阈值。具体地,当可穿戴设备的剩余电量值低于第二电量阈值时,则表示可穿戴设备存在由于电量不足而关机的风险。例如,当第一电量阈值为20%时,第二电量阈值可以是5%、10%、15%等,在此不做限定。
可穿戴设备可以在剩余电量值小于第二电量阈值时,将出站标识码发送给与可穿戴设备连接的终端,由终端保存该出站标识码。
可选地,在一个实施例中,当可穿戴设备的剩余电量值小于第一电量阈值、且第一系统关闭时,若接收到可穿戴设备的模式切换指示,则可穿戴设备可以将预设存储器中保存的出站标识码发送给终端,再开启第一系统;可以避免由于第一系统功耗大导致可穿戴设备电量不足无法完成出站操作的情况。其中,在该实施例中,模式切换指令用于指示可穿戴设备由手环模式切换至手表模式。
通过在剩余电量值低于第二电量阈值时,将出站标识码发送给与可穿戴设备连接的终端;若出站时可穿戴设备由于电量不足关机,则可以通过终端完成出站操作,可以有效避免由于可穿戴设备电量不足导致无法出站的情况。
在一个实施例中,提供的出站信息处理方法中将出站标识码保存至与可穿戴设备连接的终端之前,还包括:获取可穿戴设备与连接的终端之间的距离值;当距离值小于距离阈值时,则执行将出站标识码保存至与可穿戴设备连接的终端的操作。
在一些情况下,可穿戴设备与连接的终端可能不处于同步运动的状态,即设备持有者没有同时携带可穿戴设备和终端。可穿戴设备可以通过检测可穿戴设备与连接的终端之间的距离值确定可穿戴设备与终端是否处于同步运动的状体。具体地,可穿戴设备可以通过连接的终端的无线网络的信号强度确定可穿戴设备与终端之间的距离值;也可以通过全球定位系统获取可穿戴设备的位置,并接收终端通过全球定位系统获取的终端位置,根据二者的位置确定二者之间的距离值等。
距离阈值表征为设备持有者同时携带可穿戴设备和终端时,可穿戴设备与终端之间的最大距离值。该距离阈值可以通过实验数据分析得到。例如,距离阈值可以是0.5米、1米、1.5米等,在此不做限定。
当可穿戴设备与终端之间的距离值小于距离阈值时,则可穿戴设备可以将出站标识码发送给终端,由终端展示出站标识码完成出站操作;当可穿戴设备与终端之间的距离大于或等于距离阈值时,则可穿戴设备不将该出站标识码发送给终端,可选地,可穿戴设备可以发出低电量指示,并拒绝除出站请求指令之外的其他操作请求。
通过先获取可穿戴设备与连接的终端之间的距离值,在确定距离值小于距离阈值、且剩余电量值低于第二电量阈值时,将出站标识码发送给终端,可以避免由于设备持有者未携带终端,无法通过终端进行出站操作、出站信息处理无效的问题,可以提高出站信息处理的准确性。
在一个实施例中,提供的出站信息处理方法还可以包括:获取终端发送的设备出站指示;根据设备出站指示,将预设存储器中的出站标识码删除。
可穿戴设备展示的出站标识码被出站闸机扫描之后,可以自动删除可穿戴设备的存储器中保存的该出站标识码。
当可穿戴设备将出站标识码发送给终端,由终端完成出站操作时,终端可以将完成出站操作后接收的设备出站指示发送给可穿戴设备。可穿戴设备可以根据该设备出站指示,将预设存储器中的出站标识码删除。
可穿戴设备通过获取终端发送的设备出站指示,根据设备出站指示将预设存储器中的出站标识码删除,可以及时清理预设存储器的无效信息,增大的预设存储器的剩余空间,并且,避免可穿戴设备存在已使用的出站标识码导致后续读取错误的问题,提高出站信息处理的准确性。
在一个实施例中,第一系统所在的处理器与第二系统所在的处理器之间通过串行外设接口总线连接;该出站信息处理方法中将出站标识码保存至能够被第二系统读取的预设存储器,包括:将出站标识码通过串行外设接口总线发送至第二系统所在的处理器;通过第二系统所在的处理器将出站标识码保存至预设存储器。
第一系统所在的处理器与第二系统所在处理器之间通过串行外设接口总线连接,以第一系统所在的处理器为CPU处理器,第二系统所在的处理器为MCU处理器为例,CPU处理器与MCU处理器之间可以通过串行外设接口总线即SPI总线连接,通过SPI总线进行数据的传输。
在该实施例中,可穿戴设备可以通过第一系统将生成的出站标识码通过SPI总线发送给第二系统所在的处理器,由第二系统所在处理器中能够读取预设存储器进行保存。可选地,该存储器可以采用flash存储器或其他非易失性存储器,在此不做限定。
图4为另一个实施例中出站信息处理方法的流程图。如图4所示,在一个实施例中,提供的出站信息处理方法包括:
操作402,在第一系统运行时,根据获取的设备进站指示生成出站标识码。
操作404,获取可穿戴设备的剩余电量值。
操作406,确定剩余电量值是否小于第一阈值,若否,则进入操作408;若是,则进入操作412。
操作408,获取模式切换指令。
操作410,根据模式切换指令将出站标识码保存至预设存储器。
操作412,将出站标识码保存至能够被第二系统读取的预设存储器。
操作414,确定剩余电量值是否小于第二阈值,若是,则进入操作416;若否,则进入操作420。
操作416,将出站标识码保存至与可穿戴设备连接的终端。
可选地,可穿戴设备还可以获取可穿戴设备与连接的终端之间的距离值;当距离值小于距离阈值时,则将出站标识码保存至与可穿戴设备连接的终端。
操作418,获取终端发送的设备出站指示;根据设备出站指示,将预设存储器中的出站标识码删除。
操作420,基于运行的第二系统,获取出站请求指令。
操作422,根据出站请求指令,从预设存储中获取并展示出站标识码。
图5为又一个实施例中出站信息处理方法的流程图。如图5所示,在一个实施例中,提供的出站信息处理方法包括:
操作502,在第一系统运行时,获取与可穿戴设备连接的终端发送的出站标识码。
可选地,终端可以确定剩余电量值低于对应的电量阈值时,将出站标识码发送给可穿戴设备,可穿戴设备可以获取终端发送的出站标识码。
操作504,获取可穿戴设备的剩余电量值。
操作506,当剩余电量值低于第一电量阈值时,将出站标识码保存至能够被第二系统读取的预设存储器。
可选地,可穿戴设备可以在将出站标识码保存至能够被第二系统读取的预设存储器之后,关闭第一系统,以节省可穿戴设备的电量消耗。
可选地,当剩余电量值大于或等于第一电量阈值时,可穿戴设备可以获取模式切换指令;根据模式切换指令将出站标识码保存至预设存储器,并关闭第一系统。
可选地,可穿戴设备将出站标识码通过串行外设接口总线发送至第二系统所在的处理器;通过第二系统所在的处理器将出站标识码保存至预设存储器。
可选地,可穿戴设备也可以在第二系统运行时,获取与可穿戴设备连接的终端发送的出站标识码,则可穿戴设备可以通过第二系统将获取的出站标识码保存至预设存储器中。
进一步地,可穿戴设备可以基于运行的第二系统,获取出站请求指令;根据出站请求指令,从预设存储中获取并展示出站标识码。
进一步地,可穿戴设备可以获取终端发送的设备出站指示;根据设备出站指示,将预设存储器中的出站标识码删除。
通过在第一系统运行时,获取终端发送的出站标识码,并获取可穿戴设备的剩余电量值,当剩余电量值小于第一电量阈值时,将出站标识码保存至预设存储器;预设存储器能够被功耗小于第一系统的第二系统读取,使得当可穿戴设备的电量无法支撑第一系统运行时,可以通过功耗较低的第二系统读取该出站标识码以完成出站操作,降低因电量不足导致无法完成出站操作的风险。
应该理解的是,虽然图2-5的流程图中的各个操作按照箭头的指示依次显示,但是这些操作并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些操作的执行并没有严格的顺序限制,这些操作可以以其它的顺序执行。而且,图2-5中的至少一部分操作可以包括多个子操作或者多个阶段,这些子操作或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些子操作或者阶段的执行顺序也不必然是依次进行,而是可 以与其它操作或者其它操作的子操作或者阶段的至少一部分轮流或者交替地执行。
图6为一个实施例的出站信息处理装置的结构框图。如图6所示,该出站信息处理装置包括标识码生成模块602、电量获取模块604和标识码保存模块606,其中:
标识码生成模块602,用于在第一系统运行时,根据获取的设备进站指示生成出站标识码。
电量获取模块604,用于获取可穿戴设备的剩余电量值;
标识码保存模块606,用于当剩余电量值小于第一电量阈值时,将出站标识码保存至能够被第二系统读取的预设存储器。
本申请实施例提供的出站信息处理装置,可以在第一系统运行时,根据获取的设备进站指示生成出站标识码,并获取可穿戴设备的剩余电量值,当剩余电量值小于第一电量阈值时,将出站标识码保存至预设存储器;预设存储器能够被功耗小于第一系统的第二系统读取,使得当可穿戴设备的电量无法支撑第一系统运行时,可以通过功耗较低的第二系统读取该出站标识码以完成出站操作,降低因电量不足导致无法完成出站操作的风险。
在一个实施例中,标识码保存模块606还可以用于当剩余电量值大于或等于第一电量阈值时,获取模式切换指令;根据模式切换指令将出站标识码保存至预设存储器。
在一个实施例中,提供的出站信息处理装置还可以包括标识码展示模块608,标识码展示模块608用于基于运行的第二系统,获取出站请求指令;根据出站请求指令,从预设存储中获取并展示出站标识码。
在一个实施例中,提供的出站信息处理装置还可以包括标识码发送模块610,标识码发送模块610用于当剩余电量值低于第二电量阈值时,将出站标识码保存至与可穿戴设备连接的终端;其中,第二电量阈值小于或等于第一电量阈值。
在一个实施例中,标识码发送模块610还用于获取可穿戴设备与连接的终端之间的距离值;当距离值小于距离阈值时,则执行将出站标识码保存至与可穿戴设备连接的终端的操作。
在一个实施例中,提供的出站信息处理装置还可以包括标识码删除模块612,标识码删除模块612用于获取终端发送的设备出站指示;根据设备出站指示,将预设存储器中的出站标识码删除。
在一个实施例中,标识码保存模块606还可以用于将出站标识码通过串行外设接口总线发送至第二系统所在的处理器;通过第二系统所在的处理器将出站标识码保存至预设存储器。
在一个实施例中,还提供了一种出站信息处理装置,该出站信息处理装置可以包括:
标识码获取模块,用于在第一系统运行时,获取与可穿戴设备连接的终端发送的出站标识码。
电量获取模块,用于获取可穿戴设备的剩余电量值;
标识码保存模块,用于当剩余电量值小于第一电量阈值时,将出站标识码保存至能够被第二系统读取的预设存储器。
上述出站信息处理装置中各个模块的划分仅用于举例说明,在其他实施例中,可将出站信息处理装置按照需要划分为不同的模块,以完成上述出站信息处理装置的全部或部分功能。
关于出站信息处理装置的具体限定可以参见上文中对于出站信息处理方法的限定,在此不再赘述。上述出站信息处理装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于计算机设备中的处理器中,也可以以软件形式存储于计算机设备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。
在一个实施例中,提供了一种可穿戴设备,该可穿戴设备包括通过系统总线连接的处理器和存储器。处理器提供计算和控制能力,支撑整个可穿戴设备的运行。存储器可包括非易失性存储介质及内存储器。非易失性存储介质存储有操作系统和计算机程序。该计算机程序可被处理器所执行,以用于实现以下各个实施例所提供的一种出站信息处理方法。内存储器为非易失性存储介质中的操作系统计算机程序提供高速缓存的运行环境。其中,该处理器包 括对应于第一系统的第一处理器和对应于第二系统的第二处理器。
本申请实施例中提供的出站信息处理装置中的各个模块的实现可为计算机程序的形式。该计算机程序可在终端或服务器上运行。该计算机程序构成的程序模块可存储在终端或服务器的存储器上。该计算机程序被处理器执行时,实现本申请实施例中所描述方法的操作。
本申请实施例还提供了一种计算机可读存储介质。一个或多个包含计算机可执行指令的非易失性计算机可读存储介质,当计算机可执行指令被一个或多个处理器执行时,使得处理器执行出站信息处理方法的操作。
一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行出站信息处理方法。
本申请所使用的对存储器、存储、数据库或其它介质的任何引用可包括非易失性和/或易失性存储器。非易失性存储器可包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM),它用作外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据率SDRAM(DDR SDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)。
以上实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对本申请专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。

Claims (21)

  1. 一种出站信息处理方法,其特征在于,应用于可穿戴设备,所述可穿戴设备包括第一系统和第二系统,所述可穿戴设备运行所述第二系统的功耗低于运行所述第一系统的功耗;所述方法包括:
    在所述第一系统运行时,根据获取的设备进站指示生成出站标识码;
    获取所述可穿戴设备的剩余电量值;及
    当所述剩余电量值小于第一电量阈值时,将所述出站标识码保存至能够被所述第二系统读取的预设存储器。
  2. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    当所述剩余电量值大于或等于所述第一电量阈值时,获取模式切换指令;及
    根据所述模式切换指令将所述出站标识码保存至所述预设存储器。
  3. 根据权利要求2所述的方法,其特征在于,所述根据所述模式切换指令将所述出站标识码保存至所述预设存储器之后,还包括:
    关闭所述第一系统。
  4. 根据权利要求1至3中任一项所述的方法,其特征在于,所述将所述出站标识码保存至能够被所述第二系统读取的预设存储器之后,还包括:
    基于运行的所述第二系统,获取出站请求指令;及
    根据所述出站请求指令,从所述预设存储中获取并展示所述出站标识码。
  5. 根据权利要求1所述的方法,其特征在于,所述将所述出站标识码保存至能够被所述第二系统读取的预设存储器之后,还包括:
    当所述剩余电量值小于第一电量阈值、且所述第一系统关闭时,若接收到所述可穿戴设备的模式切换指令,则所述可穿戴设备将所述预设存储器中保存的出站标识码发送给与所述可穿戴设备连接的终端,再开启所述第一系统。
  6. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    当所述剩余电量值低于第二电量阈值时,将所述出站标识码保存至与所述可穿戴设备连接的终端;其中,所述第二电量阈值小于或等于所述第一电量阈值。
  7. 根据权利要求6所述的方法,其特征在于,所述将所述出站标识码保存至与所述可穿戴设备连接的终端之前,还包括:
    获取所述可穿戴设备与连接的终端之间的距离值;及
    当所述距离值小于距离阈值时,则执行所述将所述出站标识码保存至与所述可穿戴设备连接的终端的操作。
  8. 根据权利要求6所述的方法,其特征在于,所述方法还包括:
    获取所述终端发送的设备出站指示;及
    根据所述设备出站指示,将预设存储器中的所述出站标识码删除。
  9. 根据权利要求1所述的方法,其特征在于,所述第一系统所在的处理器与所述第二系统所在的处理器之间通过串行外设接口总线连接;
    所述将所述出站标识码保存至能够被所述第二系统读取的预设存储器,包括:
    将所述出站标识码通过所述串行外设接口总线发送至所述第二系统所在的处理器;及
    通过所述第二系统所在的处理器将所述出站标识码保存至所述预设存储器。
  10. 一种出站信息处理方法,其特征在于,应用于可穿戴设备,所述可穿戴设备包括第一系统和第二系统,所述可穿戴设备运行所述第二系统的功耗低于运行所述第一系统的功耗;所述方法包括:
    在所述第一系统运行时,获取与所述可穿戴设备连接的终端发送的出站标识码;
    获取所述可穿戴设备的剩余电量值;及
    当所述剩余电量值低于第一电量阈值时,将所述出站标识码保存至能够被所述第二系统读取的预设存储器。
  11. 一种出站信息处理装置,其特征在于,应用于可穿戴设备,所述可穿戴设备包括第一系统和第二系统,所述可穿戴设备运行所述第二系统的功耗低于运行所述第一系统的功耗;所述装置包括:
    标识码生成模块,用于在第一系统运行时,根据获取的设备进站指示生成出站标识码;
    电量获取模块,用于获取所述可穿戴设备的剩余电量值;及
    标识码保存模块,用于当所述剩余电量值小于第一电量阈值时,将所述出站标识码保存至能够被第二系统读取的预设存储器。
  12. 根据权利要求11所述的装置,其特征在于,所述标识码保存模块还用于当所述剩余电量值大于或等于所述第一电量阈值时,获取模式切换指令;及
    根据所述模式切换指令将所述出站标识码保存至所述预设存储器。
  13. 根据权利要求11至12中任一项所述的装置,其特征在于,所述装置还包括标识码展示模块,用于基于运行的所述第二系统,获取出站请求指令;及
    根据所述出站请求指令,从所述预设存储中获取并展示所述出站标识码。
  14. 根据权利要求11所述的装置,其特征在于,所述装置还包括标识码发送模块,用于当所述剩余电量值小于第一电量阈值、且所述第一系统关闭时,若接收到所述可穿戴设备的模式切换指令,则所述可穿戴设备将所述预设存储器中保存的出站标识码发送给与所述可穿戴设备连接的终端,再开启所述第一系统。
  15. 根据权利要求11所述的装置,其特征在于,所述装置还包括标识码发送模块,用于当所述剩余电量值低于第二电量阈值时,将所述出站标识码保存至与所述可穿戴设备连接的终端;其中,所述第二电量阈值小于或等于所述第一电量阈值。
  16. 根据权利要求15所述的装置,其特征在于,所述标识码发送模块还用于获取所述可穿戴设备与连接的终端之间的距离值;及
    当所述距离值小于距离阈值时,则执行所述将所述出站标识码保存至与所述可穿戴设备连接的终端的操作。
  17. 根据权利要求15所述的装置,其特征在于,所述装置还包括标识码删除模块,用于获取所述终端发送的设备出站指示;及
    根据所述设备出站指示,将预设存储器中的所述出站标识码删除。
  18. 根据权利要求11所述的装置,其特征在于,所述第一系统所在的处理器与所述第二系统所在的处理器之间通过串行外设接口总线连接;所述标识码保存模块还用于将所述出站标识码通过所述串行外设接口总线发送至所述第二系统所在的处理器;及
    通过所述第二系统所在的处理器将所述出站标识码保存至所述预设存储器。
  19. 一种出站信息处理装置,其特征在于,应用于可穿戴设备,所述可穿戴设备包括第一系统和第二系统,所述可穿戴设备运行所述第二系统的功耗低于运行所述第一系统的功耗;所述装置包括:
    标识码获取模块,用于在所述第一系统运行时,获取与所述可穿戴设备连接的终端发送的出站标识码;
    电量获取模块,用于获取所述可穿戴设备的剩余电量值;及
    标识码保存模块,用于当所述剩余电量值低于第一电量阈值时,将所述出站标识码保存至能够被所述第二系统读取的预设存储器。
  20. 一种可穿戴设备,包括存储器及处理器,所述存储器中储存有计算机程序,所述计算机程序被所述处理器执行时,使得所述处理器执行如权利要求1至10中任一项所述的出站信息处理方法的操作。
  21. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1至10中任一项所述的方法的操作。
PCT/CN2021/073198 2020-02-28 2021-01-22 出站信息处理方法和装置、可穿戴设备、计算机存储介质 WO2021169691A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010129160.1 2020-02-28
CN202010129160.1A CN113326908B (zh) 2020-02-28 2020-02-28 出站信息处理方法和装置、可穿戴设备、计算机存储介质

Publications (1)

Publication Number Publication Date
WO2021169691A1 true WO2021169691A1 (zh) 2021-09-02

Family

ID=77413366

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/073198 WO2021169691A1 (zh) 2020-02-28 2021-01-22 出站信息处理方法和装置、可穿戴设备、计算机存储介质

Country Status (2)

Country Link
CN (1) CN113326908B (zh)
WO (1) WO2021169691A1 (zh)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050114721A1 (en) * 2003-11-25 2005-05-26 Kameran Azadet Method and apparatus for power management using transmission mode with reduced power
CN108257227A (zh) * 2018-02-12 2018-07-06 上海与德科技有限公司 一种二维码结算方法、终端及系统
CN110505350A (zh) * 2019-08-29 2019-11-26 王雷 终端运行控制方法、装置及终端
CN110503423A (zh) * 2019-08-27 2019-11-26 广东小天才科技有限公司 地铁支付方法及装置、终端设备、计算机可读存储介质
CN110602318A (zh) * 2019-09-02 2019-12-20 联想(北京)有限公司 一种处理方法及电子设备

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8866606B1 (en) * 2013-07-16 2014-10-21 Rockwilli RMR LLC Systems and methods for automated personal emergency responses

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050114721A1 (en) * 2003-11-25 2005-05-26 Kameran Azadet Method and apparatus for power management using transmission mode with reduced power
CN108257227A (zh) * 2018-02-12 2018-07-06 上海与德科技有限公司 一种二维码结算方法、终端及系统
CN110503423A (zh) * 2019-08-27 2019-11-26 广东小天才科技有限公司 地铁支付方法及装置、终端设备、计算机可读存储介质
CN110505350A (zh) * 2019-08-29 2019-11-26 王雷 终端运行控制方法、装置及终端
CN110602318A (zh) * 2019-09-02 2019-12-20 联想(北京)有限公司 一种处理方法及电子设备

Also Published As

Publication number Publication date
CN113326908A (zh) 2021-08-31
CN113326908B (zh) 2024-03-15

Similar Documents

Publication Publication Date Title
WO2022012173A1 (zh) 模拟卡切换方法、终端设备及存储介质
US9652661B2 (en) Method and terminal device for image processing
KR102248474B1 (ko) 음성 명령 제공 방법 및 장치
JP6714654B2 (ja) 無線トランザクションに関する位置に基づくクレデンシャルの選択
US20170285868A1 (en) Method and apparatus for preventing touchscreen misoperation
KR101185378B1 (ko) Rf-id 태그 정보를 캐싱하는 휴대용 디바이스 및 그방법
US10902412B2 (en) Method and device for account creation, account refilling and data synchronization
TWI752503B (zh) 資訊識別方法和系統
KR20140060757A (ko) 입력 수단의 결제 기능을 제어하는 전자 장치 및 방법
WO2019085587A1 (zh) 一种公共交通支付的方法、装置及设备
US9633236B1 (en) Power harvesting in reader devices
TW201946003A (zh) 業務處理方法、裝置以及設備
US20230098616A1 (en) Method for Invoking NFC Application, Electronic Device, and NFC Apparatus
CN102480525A (zh) 瘦客户机系统中的服务器装置
WO2020135010A1 (zh) 寄宿应用的处理方法、设备及计算机可读存储介质
CN202443369U (zh) 一种物联网云终端计算机
US10438525B2 (en) Method of controlling display of electronic device and electronic device thereof
WO2021169691A1 (zh) 出站信息处理方法和装置、可穿戴设备、计算机存储介质
US20150293691A1 (en) Electronic device and method for selecting data on a screen
WO2021129400A1 (zh) 蓝牙连接方法和装置、可穿戴设备、计算机可读存储介质
US20220407660A1 (en) Processor communication method, electronic device, and computer readable storage medium
EP2866187A1 (en) Method, apparatus, and terminal device for transmitting NFC data
CN102253735A (zh) 信息处理装置和显示装置及其控制方法以及显示系统
CN203324896U (zh) 带有rfid的云终端计算机
WO2017096533A1 (zh) 消息处理方法及移动终端

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21761456

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21761456

Country of ref document: EP

Kind code of ref document: A1