WO2022068591A1 - 目标业务执行方法和电子设备 - Google Patents

目标业务执行方法和电子设备 Download PDF

Info

Publication number
WO2022068591A1
WO2022068591A1 PCT/CN2021/118562 CN2021118562W WO2022068591A1 WO 2022068591 A1 WO2022068591 A1 WO 2022068591A1 CN 2021118562 W CN2021118562 W CN 2021118562W WO 2022068591 A1 WO2022068591 A1 WO 2022068591A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic device
application
target application
target
identifier
Prior art date
Application number
PCT/CN2021/118562
Other languages
English (en)
French (fr)
Inventor
李卓斐
王良
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to US18/246,032 priority Critical patent/US20230360445A1/en
Priority to EP21874252.6A priority patent/EP4210361A4/en
Publication of WO2022068591A1 publication Critical patent/WO2022068591A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07BTICKET-ISSUING APPARATUS; FARE-REGISTERING APPARATUS; FRANKING APPARATUS
    • G07B15/00Arrangements or apparatus for collecting fares, tolls or entrance fees at one or more control points
    • G07B15/06Arrangements for road pricing or congestion charging of vehicles or vehicle users, e.g. automatic toll systems
    • G07B15/063Arrangements for road pricing or congestion charging of vehicles or vehicle users, e.g. automatic toll systems using wireless information transmission between the vehicle and a fixed station
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/32User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/08Payment architectures
    • G06Q20/14Payment architectures specially adapted for billing systems
    • G06Q20/145Payments according to the detected use or quantity
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/32Payment architectures, schemes or protocols characterised by the use of specific devices or networks using wireless devices
    • G06Q20/327Short range or proximity payments by means of M-devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/40Business processes related to the transportation industry
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/50Secure pairing of devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/40Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]
    • H04W4/44Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P] for communication between vehicles and infrastructures, e.g. vehicle-to-cloud [V2C] or vehicle-to-home [V2H]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q2240/00Transportation facility access, e.g. fares, tolls or parking
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/021Services related to particular areas, e.g. point of interest [POI] services, venue services or geofences
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks

Definitions

  • the present application relates to the field of electronic technologies, and in particular, to a target service execution method and electronic device.
  • ETC electronic toll collection
  • ETC technology requires installing and updating on-board electronic tags for each vehicle.
  • the hardware cost is high, and it is difficult to manage users (for example, when the car is lent for use, it is necessary to continue to pay high-speed tolls).
  • mobile terminal applications there are related technologies that convert the ETC payment mode to using mobile terminals for payment.
  • the embodiments of the present application provide a target service execution method and electronic device, which can improve the success rate of establishing a connection for an electronic terminal in a target service execution process.
  • an embodiment of the present application provides a method for executing a target service.
  • the method is executed by an electronic device and includes: receiving a first broadcast signal from a first device, where the first broadcast signal carries the first device the identifier of the first device; start the target application in the electronic device according to the identifier of the first device; when receiving the second broadcast signal from the second device, according to the second device carried by the second broadcast signal , establish a communication connection between the target application and the second device to execute the target service corresponding to the target application; wherein the first device is deployed on the moving path of the electronic device One of at least one first device that is one of at least one second device deployed on the path of movement of the electronic device, the first device being deployed in close proximity to the second device One end of the starting point of the moving path of the electronic device.
  • the electronic device may be a mobile terminal, a vehicle-mounted device, or other types of devices;
  • the first device may be a Bluetooth device, and its identifier may be a universally unique identifier (UUID), and the first device is used to wake up and start
  • the target application in the electronic device
  • the second device can also be a Bluetooth device, used to establish a communication connection with the target application;
  • the target application can be a highway toll application, a punch card application or an application of other functions.
  • the above-mentioned target service execution method by deploying the first device at an end that is close to the starting point of the moving path of the electronic device relative to the second device, firstly starts the target application in the electronic device through the first device to ensure that the target application is established with the second device.
  • the target application has been started before the connection, thereby improving the success rate of establishing a connection between the electronic device and the second device, so as to improve the success rate of completing the target service.
  • the deployment distance between the first device and the second device is based on the signal coverage of the first device and the signal coverage of the second device.
  • the range, the startup duration of the target application and the moving speed of the electronic device are determined.
  • the above-mentioned starting the target application in the electronic device according to the identifier of the first device includes: comparing the identifier of the first device with a set of device identifiers pre-stored in the electronic device. Compare; if there is an identifier matching the identifier of the first device in the device identifier set, start the target application in the electronic device.
  • the pre-stored set of device identifiers is the identifiers of deployed devices that are delivered by the server to the electronic device after the user registers on the target application through the electronic device.
  • the electronic device can determine whether the first device is a real deployed device by comparing the received identifier of the first device with the set of device identifiers, thereby avoiding unnecessary startup of the target application caused by some interfering devices (or interfering signals). operate.
  • the electronic device includes a Bluetooth proxy module
  • the starting the target application in the electronic device includes: starting the target application in the electronic device through the Bluetooth proxy module.
  • the electronic device may include a Bluetooth chip and a Bluetooth proxy module. After the Bluetooth chip compares the identifier of the first device with the device identifier set, the target application can be run and started by the Bluetooth proxy module, and the user does not need to perform manual operations. In this way, a senseless execution process for the user is realized, and the convenience of the target business execution process is improved.
  • the method further includes: according to the instruction instruction of the target application, detecting the second power of the second device according to the highest duty cycle power. broadcast signal.
  • the highest duty cycle power can be 100% duty cycle power.
  • the electronic device scans and detects the second broadcast signal of the second device according to the highest duty cycle power, which can improve the success of detecting the second broadcast signal. rate, and the second broadcast signal can be detected relatively quickly.
  • the target application includes a highway toll application, and the target service includes a toll payment service; and the executing the target service corresponding to the target application includes: sending vehicle information corresponding to the electronic device. to the second device, for causing the second device to send the vehicle information to a server to calculate a payment fee, so as to execute the fee payment service; or, to send the vehicle information corresponding to the electronic device to the server
  • the server is used for the server to calculate the payment fee to execute the fee payment service.
  • the highway toll collection application may be an application program installed on an electronic device, which can realize the automatic toll collection function of the expressway, which can make the user do not need to install other hardware in the vehicle, so as to reduce the hardware cost. It can be seen from the above implementation manner that the process of establishing a communication connection between the highway toll application and the second device also does not require user operation, thereby realizing a non-sensing transaction process in the highway toll collection process and improving user experience.
  • the target application includes a punch-in application
  • the target service includes a punch-in business
  • the executing the target service corresponding to the target application includes: sending the positioning information corresponding to the electronic device to the The second device, configured to make the second device send the positioning information to the server for verification, so as to execute the punch-in business; or, send the positioning information corresponding to the electronic device to the server for verification , to perform the punch-in business.
  • the punch-in application can also be an application installed on the electronic device, which can realize the automatic punch-in function of the user. During the automatic punch-in process, no user operation is also required, which improves the user experience.
  • the method further includes: receiving biometric information input by the user through the target application, Sending the biometric information to the server to perform the target service.
  • the user can also enter the biometric identification Information (such as face image, fingerprint, iris, etc.) is re-paid, that is, the processing method in case of business exceptions is considered, which further improves the user's experience.
  • biometric identification Information such as face image, fingerprint, iris, etc.
  • the above method further includes a process of the user registering through the target application: receiving registration information input by the user through the target application, the registration information includes a user ID and a target service ID; Sent to the server for user registration.
  • the user identifier may be information that can uniquely identify the user, such as an ID card number, mobile phone number, etc.; for the highway toll payment service, the target service identifier may be information such as a license plate number.
  • the server can also download the secure transaction environment (such as transaction TA or Applet, etc.) and the deployed device identifier to the electronic device, so as to provide a data basis for the subsequent target service execution process.
  • an embodiment of the present application provides an apparatus, the apparatus is included in an electronic device, and the apparatus has a function of implementing the behavior of the electronic device in the above-mentioned first aspect and possible implementations of the above-mentioned first aspect.
  • the functions can be implemented by hardware, or by executing corresponding software by hardware.
  • the hardware or software includes one or more modules or units corresponding to the above functions. For example, a receiving module or unit, a processing module or unit, and the like.
  • an embodiment of the present application provides an electronic device, the electronic device includes: a processor, a memory, and an interface; the processor, the memory, and the interface cooperate with each other, so that the electronic device performs any one of the technical solutions described in the first aspect method.
  • an embodiment of the present application provides a chip including a processor.
  • the processor is adapted to read and execute the computer program stored in the memory to perform the method of the first aspect and any possible implementations thereof.
  • the chip further includes a memory, and the memory is connected to the processor through a circuit or a wire.
  • the chip further includes a communication interface.
  • an embodiment of the present application provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the processor is made to execute the first aspect.
  • an embodiment of the present application provides a computer program product, the computer program product includes: computer program code, when the computer program code is run on an electronic device, the electronic device is made to execute the first aspect. Any method in the technical solution.
  • FIG. 1 is an application scenario diagram of an example target service execution method provided by an embodiment of the present application
  • FIG 2 is an application scenario diagram of another example target service execution method provided by an embodiment of the present application.
  • FIG. 3 is a schematic structural diagram of an example of a communication device networking system provided by an embodiment of the present application.
  • FIG. 4 is a schematic structural diagram of an example of an electronic device provided by an embodiment of the present application.
  • FIG. 5 is a block diagram of a software structure of an electronic device provided by an embodiment of the present application.
  • FIG. 6 is a schematic flowchart of an example of a target service execution method provided by an embodiment of the present application.
  • FIG. 7 is a schematic diagram of an example of setting a deployment distance between a first device and a second device according to an embodiment of the present application
  • FIG. 8 is a schematic diagram of an interaction flow of an example of a target service execution method provided by an embodiment of the present application.
  • FIG. 9 is a schematic diagram of a registration interface of an example of a highway toll application provided by an embodiment of the present application.
  • FIG. 10 is a schematic flowchart of an example of a charging payment process provided by an embodiment of the present application.
  • FIG. 10 is a schematic flowchart of another example of the charging payment process provided by the embodiment of the present application.
  • FIG. 11 is a schematic diagram of an example setting interface provided by the embodiment of the present application.
  • FIG. 11 is a schematic diagram of an example of a Bluetooth switch interface provided by an embodiment of the present application.
  • FIG. 11 is a schematic diagram of an example of a toll payment service switch interface provided by an embodiment of the present application.
  • FIG. 12 is an application scenario diagram of another example of the target service execution method provided by the embodiment of the present application.
  • FIG. 13 is a schematic diagram of a registration interface of an example of a punch card application provided by an embodiment of the present application.
  • first”, “second” and “third” are only used for descriptive purposes, and should not be understood as indicating or implying relative importance or implying the number of indicated technical features. Thus, a feature defined as “first”, “second”, “third” may expressly or implicitly include one or more of that feature.
  • the target service execution method provided by the embodiments of the present application can be applied to mobile phones, tablet computers, wearable devices, vehicle-mounted devices, augmented reality (AR)/virtual reality (VR) devices, notebook computers, and ultra-mobile personal devices.
  • Computers (ultra-mobile personal computer, UMPC), netbooks, personal digital assistants (personal digital assistant, PDA) and other electronic devices that can install application programs (application, APP) limit.
  • the target service execution method provided in the embodiment of the present application can be applied to the highway toll collection scenario shown in FIG. 1 .
  • a device 14 has a total of four first devices, and a second device 21 , a second device 22 , and a second device 23 total three second devices are shown as examples, but the specific number of the first device and the second device is discussed in this embodiment. and the alternation order is not limited.
  • the first device and the second device may be Bluetooth devices, or may be devices using other communication methods (such as ultra wide band (UWB) communication methods), and the first device and the second device are deployed in front of the toll booth. on the ramp, and the first device is deployed at a position on the ramp close to the high-speed main road relative to the second device.
  • UWB ultra wide band
  • the electronic device 100 can sense the broadcast signal of the first device and activate the road toll application installed on the electronic device 100; then, the electronic device 100 continues to detect the first device The broadcast signal of the second device is detected, and a connection with the second device is established after detecting the broadcast signal of the second device, thereby completing the charging payment process.
  • the function of the first device is to wake up the road toll application on the electronic device 100
  • the function of the second device is to establish a connection with the electronic device 100 to complete the transaction
  • the second device can also be a composite device integrating wake-up and transaction.
  • the first device and the second device are powered on, and a power-on device 31 is set at the front of the ramp.
  • the power-on device 31 can sense the passing of the vehicle through infrared signals or vibration signals, and trigger power supply when it senses the passing of the vehicle
  • the device powers on the first device and the second device.
  • the power-on device 31 may send a power-on instruction to the power supply device to instruct the power supply device to power on the first device and the second device.
  • the power-on device 31 can also be set, and the power-on of the first device and the second device can be stopped at ordinary times.
  • the device and the second device are powered up.
  • the scene diagram including the power-on device 31 can be referred to as shown in FIG. 2 .
  • an embodiment of the present application further provides a communication device networking system.
  • the system includes a first device 11, a first device 12, a first device A device 13, a first device 14, a second device 21, a second device 22, a second device 23, a power-on device 31, and a power supply device 32; wherein the first device 11, the first device 12, the first device 13, The first device 14 is communicatively connected to the power supply device 32 , the second device 21 , the second device 22 , and the second device 23 are also communicatively connected to the power supply device 32 , and the power-on device 31 is also communicatively connected to the power supply device 32 .
  • the embodiments of the present application do not limit the number of the first device and the second device.
  • the power-on device 31 senses the passing of the vehicle through the infrared signal or the vibration signal, it sends a power-on command to the power-supply device 32 to trigger the power-supply device 32 to power on the first device and the second device.
  • FIG. 4 is a schematic structural diagram of an example of an electronic device 100 provided by an embodiment of the present application.
  • the electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charge management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2 , mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, sensor module 180, buttons 190, motor 191, indicator 192, camera 193, display screen 194, and Subscriber identification module (subscriber identification module, SIM) card interface 195 and so on.
  • SIM Subscriber identification module
  • the sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, and ambient light. Sensor 180L, bone conduction sensor 180M, etc.
  • the structures illustrated in the embodiments of the present application do not constitute a specific limitation on the electronic device 100 .
  • the electronic device 100 may include more or less components than shown, or combine some components, or separate some components, or arrange different components.
  • the illustrated components may be implemented in hardware, software, or a combination of software and hardware.
  • the processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), controller, memory, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural-network processing unit (NPU) Wait. Wherein, different processing units may be independent devices, or may be integrated in one or more processors.
  • application processor application processor, AP
  • modem processor graphics processor
  • graphics processor graphics processor
  • ISP image signal processor
  • controller memory
  • video codec digital signal processor
  • DSP digital signal processor
  • NPU neural-network processing unit
  • the controller may be the nerve center and command center of the electronic device 100 .
  • the controller can generate an operation control signal according to the instruction operation code and timing signal, and complete the control of fetching and executing instructions.
  • a memory may also be provided in the processor 110 for storing instructions and data.
  • the memory in processor 110 is cache memory. This memory may hold instructions or data that have just been used or recycled by the processor 110 . If the processor 110 needs to use the instruction or data again, it can be called directly from the memory. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby increasing the efficiency of the system.
  • the processor 110 may include one or more interfaces.
  • the interface may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous transceiver (universal asynchronous transmitter) receiver/transmitter, UART) interface, mobile industry processor interface (MIPI), general-purpose input/output (GPIO) interface, subscriber identity module (SIM) interface, and / or universal serial bus (universal serial bus, USB) interface, etc.
  • I2C integrated circuit
  • I2S integrated circuit built-in audio
  • PCM pulse code modulation
  • PCM pulse code modulation
  • UART universal asynchronous transceiver
  • MIPI mobile industry processor interface
  • GPIO general-purpose input/output
  • SIM subscriber identity module
  • USB universal serial bus
  • the I2C interface is a bidirectional synchronous serial bus that includes a serial data line (SDA) and a serial clock line (SCL).
  • the processor 110 may contain multiple sets of I2C buses.
  • the processor 110 can be respectively coupled to the touch sensor 180K, the charger, the flash, the camera 193 and the like through different I2C bus interfaces.
  • the processor 110 may couple the touch sensor 180K through the I2C interface, so that the processor 110 and the touch sensor 180K communicate with each other through the I2C bus interface, so as to realize the touch function of the electronic device 100 .
  • the I2S interface can be used for audio communication.
  • the processor 110 may contain multiple sets of I2S buses.
  • the processor 110 may be coupled with the audio module 170 through an I2S bus to implement communication between the processor 110 and the audio module 170 .
  • the audio module 170 can transmit audio signals to the wireless communication module 160 through the I2S interface, so as to realize the function of answering calls through a Bluetooth headset.
  • the PCM interface can also be used for audio communications, sampling, quantizing and encoding analog signals.
  • the audio module 170 and the wireless communication module 160 may be coupled through a PCM bus interface.
  • the audio module 170 can also transmit audio signals to the wireless communication module 160 through the PCM interface, so as to realize the function of answering calls through the Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.
  • the UART interface is a universal serial data bus used for asynchronous communication.
  • the bus may be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication.
  • a UART interface is typically used to connect the processor 110 with the wireless communication module 160 .
  • the processor 110 communicates with the Bluetooth module in the wireless communication module 160 through the UART interface to implement the Bluetooth function.
  • the audio module 170 can transmit audio signals to the wireless communication module 160 through the UART interface, so as to realize the function of playing music through the Bluetooth headset.
  • the MIPI interface can be used to connect the processor 110 with peripheral devices such as the display screen 194 and the camera 193 .
  • MIPI interfaces include camera serial interface (CSI), display serial interface (DSI), etc.
  • the processor 110 communicates with the camera 193 through a CSI interface, so as to realize the photographing function of the electronic device 100 .
  • the processor 110 communicates with the display screen 194 through the DSI interface to implement the display function of the electronic device 100 .
  • the GPIO interface can be configured by software.
  • the GPIO interface can be configured as a control signal or as a data signal.
  • the GPIO interface may be used to connect the processor 110 with the camera 193, the display screen 194, the wireless communication module 160, the audio module 170, the sensor module 180, and the like.
  • the GPIO interface can also be configured as I2C interface, I2S interface, UART interface, MIPI interface, etc.
  • the USB interface 130 is an interface that conforms to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, and the like.
  • the USB interface 130 can be used to connect a charger to charge the electronic device 100, and can also be used to transmit data between the electronic device 100 and peripheral devices. It can also be used to connect headphones to play audio through the headphones.
  • the interface can also be used to connect other electronic devices, such as AR devices.
  • the interface connection relationship between the modules illustrated in the embodiments of the present application is only a schematic illustration, and does not constitute a structural limitation of the electronic device 100 .
  • the electronic device 100 may also adopt different interface connection manners in the foregoing embodiments, or a combination of multiple interface connection manners.
  • the charging management module 140 is used to receive charging input from the charger.
  • the charger may be a wireless charger or a wired charger.
  • the charging management module 140 may receive charging input from the wired charger through the USB interface 130 .
  • the charging management module 140 may receive wireless charging input through a wireless charging coil of the electronic device 100 . While the charging management module 140 charges the battery 142 , it can also supply power to the electronic device through the power management module 141 .
  • the power management module 141 is used for connecting the battery 142 , the charging management module 140 and the processor 110 .
  • the power management module 141 receives input from the battery 142 and/or the charging management module 140 and supplies power to the processor 110 , the internal memory 121 , the external memory, the display screen 194 , the camera 193 , and the wireless communication module 160 .
  • the power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle times, battery health status (leakage, impedance).
  • the power management module 141 may also be provided in the processor 110 .
  • the power management module 141 and the charging management module 140 may also be provided in the same device.
  • the wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modulation and demodulation processor, the baseband processor, and the like.
  • Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals.
  • the structures of the antenna 1 and the antenna 2 in FIG. 4 are only an example.
  • Each antenna in electronic device 100 may be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization.
  • the antenna 1 can be multiplexed as a diversity antenna of the wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
  • the mobile communication module 150 may provide wireless communication solutions including 2G/3G/4G/5G etc. applied on the electronic device 100 .
  • the mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA) and the like.
  • the mobile communication module 150 can receive electromagnetic waves from the antenna 1, filter and amplify the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation.
  • the mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and then turn it into an electromagnetic wave for radiation through the antenna 1 .
  • at least part of the functional modules of the mobile communication module 150 may be provided in the processor 110 .
  • at least part of the functional modules of the mobile communication module 150 may be provided in the same device as at least part of the modules of the processor 110 .
  • the modem processor may include a modulator and a demodulator.
  • the modulator is used to modulate the low frequency baseband signal to be sent into a medium and high frequency signal.
  • the demodulator is used to demodulate the received electromagnetic wave signal into a low frequency baseband signal. Then the demodulator transmits the demodulated low-frequency baseband signal to the baseband processor for processing.
  • the low frequency baseband signal is processed by the baseband processor and passed to the application processor.
  • the application processor outputs sound signals through audio devices (not limited to the speaker 170A, the receiver 170B, etc.), or displays images or videos through the display screen 194 .
  • the modem processor may be a stand-alone device.
  • the modem processor may be independent of the processor 110, and may be provided in the same device as the mobile communication module 150 or other functional modules.
  • the wireless communication module 160 can provide applications on the electronic device 100 including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellites Wireless communication solutions such as global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), and infrared technology (IR).
  • WLAN wireless local area networks
  • BT Bluetooth
  • GNSS global navigation satellite system
  • FM frequency modulation
  • NFC near field communication
  • IR infrared technology
  • the wireless communication module 160 may be one or more devices integrating at least one communication processing module.
  • the wireless communication module 160 receives electromagnetic waves via the antenna 2 , frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110 .
  • the wireless communication module 160 can also receive the signal to be sent from the processor 110 , perform frequency modulation on it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2 .
  • the antenna 1 of the electronic device 100 is coupled with the mobile communication module 150, and the antenna 2 is coupled with the wireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through wireless communication technology.
  • the wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), broadband Code Division Multiple Access (WCDMA), Time Division Code Division Multiple Access (TD-SCDMA), Long Term Evolution (LTE), BT, GNSS, WLAN, NFC , FM, and/or IR technology, etc.
  • the GNSS may include global positioning system (global positioning system, GPS), global navigation satellite system (global navigation satellite system, GLONASS), Beidou navigation satellite system (beidou navigation satellite system, BDS), quasi-zenith satellite system (quasi -zenith satellite system, QZSS) and/or satellite based augmentation systems (SBAS).
  • global positioning system global positioning system, GPS
  • global navigation satellite system global navigation satellite system, GLONASS
  • Beidou navigation satellite system beidou navigation satellite system, BDS
  • quasi-zenith satellite system quadsi -zenith satellite system, QZSS
  • SBAS satellite based augmentation systems
  • the electronic device 100 implements a display function through a GPU, a display screen 194, an application processor, and the like.
  • the GPU is a microprocessor for image processing, and is connected to the display screen 194 and the application processor.
  • the GPU is used to perform mathematical and geometric calculations for graphics rendering.
  • Processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
  • Display screen 194 is used to display images, videos, and the like.
  • Display screen 194 includes a display panel.
  • the display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (active-matrix organic light).
  • LED diode AMOLED
  • flexible light-emitting diode flexible light-emitting diode (flex light-emitting diode, FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diode (quantum dot light emitting diodes, QLED) and so on.
  • the electronic device 100 may include one or N display screens 194 , where N is a positive integer greater than one.
  • the electronic device 100 may implement a shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, an application processor, and the like.
  • the ISP is used to process the data fed back by the camera 193 .
  • the shutter is opened, the light is transmitted to the camera photosensitive element through the lens, the light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing, and converts it into an image visible to the naked eye.
  • ISP can also perform algorithm optimization on image noise, brightness, and skin tone.
  • ISP can also optimize the exposure, color temperature and other parameters of the shooting scene.
  • the ISP may be provided in the camera 193 .
  • Camera 193 is used to capture still images or video.
  • the object is projected through the lens to generate an optical image onto the photosensitive element.
  • the photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor.
  • CMOS complementary metal-oxide-semiconductor
  • the photosensitive element converts the optical signal into an electrical signal, and then transmits the electrical signal to the ISP to convert it into a digital image signal.
  • the ISP outputs the digital image signal to the DSP for processing.
  • DSP converts digital image signals into standard RGB, YUV and other formats of image signals.
  • the electronic device 100 may include 1 or N cameras 193, where N is a positive integer greater than 1.
  • a digital signal processor is used to process digital signals, in addition to processing digital image signals, it can also process other digital signals. For example, when the electronic device 100 selects a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy and so on.
  • Video codecs are used to compress or decompress digital video.
  • the electronic device 100 may support one or more video codecs.
  • the electronic device 100 can play or record videos of various encoding formats, such as: Moving Picture Experts Group (moving picture experts group, MPEG) 1, MPEG2, MPEG3, MPEG4 and so on.
  • MPEG Moving Picture Experts Group
  • MPEG2 moving picture experts group
  • MPEG3 MPEG4
  • MPEG4 Moving Picture Experts Group
  • the NPU is a neural-network (NN) computing processor.
  • NN neural-network
  • Applications such as intelligent cognition of the electronic device 100 can be implemented through the NPU, such as image recognition, face recognition, speech recognition, text understanding, and the like.
  • the external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100 .
  • the external memory card communicates with the processor 110 through the external memory interface 120 to realize the data storage function. For example to save files like music, video etc in external memory card.
  • Internal memory 121 may be used to store computer executable program code, which includes instructions.
  • the processor 110 executes various functional applications and data processing of the electronic device 100 by executing the instructions stored in the internal memory 121 .
  • the internal memory 121 may include a storage program area and a storage data area.
  • the storage program area can store an operating system, an application program required for at least one function (such as a sound playback function, an image playback function, etc.), and the like.
  • the storage data area may store data (such as audio data, phone book, etc.) created during the use of the electronic device 100 and the like.
  • the internal memory 121 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, universal flash storage (UFS), and the like.
  • the electronic device 100 may implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, an application processor, and the like. Such as music playback, recording, etc.
  • the audio module 170 is used for converting digital audio information into analog audio signal output, and also for converting analog audio input into digital audio signal. Audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be provided in the processor 110 , or some functional modules of the audio module 170 may be provided in the processor 110 .
  • Speaker 170A also referred to as a "speaker" is used to convert audio electrical signals into sound signals.
  • the electronic device 100 can listen to music through the speaker 170A, or listen to a hands-free call.
  • the receiver 170B also referred to as "earpiece" is used to convert audio electrical signals into sound signals.
  • the voice can be answered by placing the receiver 170B close to the human ear.
  • the microphone 170C also called “microphone” or “microphone” is used to convert sound signals into electrical signals.
  • the user can make a sound by approaching the microphone 170C through a human mouth, and input the sound signal into the microphone 170C.
  • the electronic device 100 may be provided with at least one microphone 170C. In other embodiments, the electronic device 100 may be provided with two microphones 170C, which can implement a noise reduction function in addition to collecting sound signals. In other embodiments, the electronic device 100 may further be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, and implement directional recording functions.
  • the earphone jack 170D is used to connect wired earphones.
  • the earphone interface 170D may be the USB interface 130, or may be a 3.5mm open mobile terminal platform (OMTP) standard interface, a cellular telecommunications industry association of the USA (CTIA) standard interface.
  • OMTP open mobile terminal platform
  • CTIA cellular telecommunications industry association of the USA
  • the pressure sensor 180A is used to sense pressure signals, and can convert the pressure signals into electrical signals.
  • the pressure sensor 180A may be provided on the display screen 194 .
  • the capacitive pressure sensor may be comprised of at least two parallel plates of conductive material. When a force is applied to the pressure sensor 180A, the capacitance between the electrodes changes.
  • the electronic device 100 determines the intensity of the pressure according to the change in capacitance. When a touch operation acts on the display screen 194, the electronic device 100 detects the intensity of the touch operation according to the pressure sensor 180A.
  • the electronic device 100 may also calculate the touched position according to the detection signal of the pressure sensor 180A.
  • touch operations acting on the same touch position but with different touch operation intensities may correspond to different operation instructions. For example, when a touch operation whose intensity is less than the first pressure threshold acts on the short message application icon, the instruction for viewing the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the short message application icon, the instruction to create a new short message is executed.
  • the gyro sensor 180B may be used to determine the motion attitude of the electronic device 100 .
  • the angular velocity of electronic device 100 about three axes ie, x, y, and z axes
  • the gyro sensor 180B can be used for image stabilization.
  • the gyro sensor 180B detects the angle at which the electronic device 100 shakes, calculates the distance that the lens module needs to compensate for according to the angle, and allows the lens to counteract the shake of the electronic device 100 through reverse motion to achieve anti-shake.
  • the gyro sensor 180B can also be used for navigation and somatosensory game scenarios.
  • the air pressure sensor 180C is used to measure air pressure.
  • the electronic device 100 calculates the altitude through the air pressure value measured by the air pressure sensor 180C to assist in positioning and navigation.
  • the magnetic sensor 180D includes a Hall sensor.
  • the electronic device 100 can detect the opening and closing of the flip holster using the magnetic sensor 180D.
  • the electronic device 100 can detect the opening and closing of the flip according to the magnetic sensor 180D. Further, according to the detected opening and closing state of the leather case or the opening and closing state of the flip cover, characteristics such as automatic unlocking of the flip cover are set.
  • the acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device 100 in various directions (generally three axes).
  • the magnitude and direction of gravity can be detected when the electronic device 100 is stationary. It can also be used to identify the posture of electronic devices, and can be used in applications such as horizontal and vertical screen switching, pedometers, etc.
  • the electronic device 100 can measure the distance through infrared or laser. In some embodiments, when shooting a scene, the electronic device 100 can use the distance sensor 180F to measure the distance to achieve fast focusing.
  • Proximity light sensor 180G may include, for example, light emitting diodes (LEDs) and light detectors, such as photodiodes.
  • the light emitting diodes may be infrared light emitting diodes.
  • the electronic device 100 emits infrared light to the outside through the light emitting diode.
  • Electronic device 100 uses photodiodes to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 100 . When insufficient reflected light is detected, the electronic device 100 may determine that there is no object near the electronic device 100 .
  • the electronic device 100 can use the proximity light sensor 180G to detect that the user holds the electronic device 100 close to the ear to talk, so as to automatically turn off the screen to save power.
  • Proximity light sensor 180G can also be used in holster mode, pocket mode automatically unlocks and locks the screen.
  • the ambient light sensor 180L is used to sense ambient light brightness.
  • the electronic device 100 can adaptively adjust the brightness of the display screen 194 according to the perceived ambient light brightness.
  • the ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures.
  • the ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in a pocket to prevent accidental touch.
  • the fingerprint sensor 180H is used to collect fingerprints.
  • the electronic device 100 can use the collected fingerprint characteristics to realize fingerprint unlocking, accessing application locks, taking pictures with fingerprints, answering incoming calls with fingerprints, and the like.
  • the temperature sensor 180J is used to detect the temperature.
  • the electronic device 100 uses the temperature detected by the temperature sensor 180J to execute a temperature processing strategy. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold value, the electronic device 100 reduces the performance of the processor located near the temperature sensor 180J in order to reduce power consumption and implement thermal protection.
  • the electronic device 100 when the temperature is lower than another threshold, the electronic device 100 heats the battery 142 to avoid abnormal shutdown of the electronic device 100 caused by the low temperature.
  • the electronic device 100 boosts the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.
  • Touch sensor 180K also called “touch panel”.
  • the touch sensor 180K may be disposed on the display screen 194 , and the touch sensor 180K and the display screen 194 form a touch screen, also called a “touch screen”.
  • the touch sensor 180K is used to detect a touch operation on or near it.
  • the touch sensor can pass the detected touch operation to the application processor to determine the type of touch event.
  • Visual output related to touch operations may be provided through display screen 194 .
  • the touch sensor 180K may also be disposed on the surface of the electronic device 100 , which is different from the location where the display screen 194 is located.
  • the bone conduction sensor 180M can acquire vibration signals.
  • the bone conduction sensor 180M can acquire the vibration signal of the vibrating bone mass of the human voice.
  • the bone conduction sensor 180M can also contact the pulse of the human body and receive the blood pressure beating signal.
  • the bone conduction sensor 180M can also be disposed in the earphone, combined with the bone conduction earphone.
  • the audio module 170 can analyze the voice signal based on the vibration signal of the vocal vibration bone block obtained by the bone conduction sensor 180M, so as to realize the voice function.
  • the application processor can analyze the heart rate information based on the blood pressure beat signal obtained by the bone conduction sensor 180M, and realize the function of heart rate detection.
  • the keys 190 include a power-on key, a volume key, and the like. Keys 190 may be mechanical keys. It can also be a touch key.
  • the electronic device 100 may receive key inputs and generate key signal inputs related to user settings and function control of the electronic device 100 .
  • Motor 191 can generate vibrating cues.
  • the motor 191 can be used for vibrating alerts for incoming calls, and can also be used for touch vibration feedback.
  • touch operations acting on different applications can correspond to different vibration feedback effects.
  • the motor 191 can also correspond to different vibration feedback effects for touch operations on different areas of the display screen 194 .
  • Different application scenarios for example: time reminder, receiving information, alarm clock, games, etc.
  • the touch vibration feedback effect can also support customization.
  • the indicator 192 can be an indicator light, which can be used to indicate the charging state, the change of the power, and can also be used to indicate a message, a missed call, a notification, and the like.
  • the SIM card interface 195 is used to connect a SIM card.
  • the SIM card can be contacted and separated from the electronic device 100 by inserting into the SIM card interface 195 or pulling out from the SIM card interface 195 .
  • the electronic device 100 may support 1 or N SIM card interfaces, where N is a positive integer greater than 1.
  • the SIM card interface 195 can support Nano SIM card, Micro SIM card, SIM card and so on. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the plurality of cards may be the same or different.
  • the SIM card interface 195 can also be compatible with different types of SIM cards.
  • the SIM card interface 195 is also compatible with external memory cards.
  • the electronic device 100 interacts with the network through the SIM card to implement functions such as call and data communication.
  • the electronic device 100 employs an eSIM, ie: an embedded SIM card.
  • the eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.
  • the software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture.
  • the embodiments of the present application take an Android system with a layered architecture as an example to exemplarily describe the software structure of the electronic device 100 .
  • FIG. 5 is a block diagram of the software structure of the electronic device 100 according to the embodiment of the present application.
  • the layered architecture divides the software into several layers, and each layer has a clear role and division of labor. Layers communicate with each other through software interfaces.
  • the Android system is divided into four layers, which are, from top to bottom, an application layer, an application framework layer, an Android runtime (Android runtime) and a system library, and a kernel layer.
  • the application layer can include a series of application packages.
  • the application package can include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message and so on.
  • the application framework layer provides an application programming interface (application programming interface, API) and a programming framework for applications in the application layer.
  • the application framework layer includes some predefined functions.
  • the application framework layer may include a window manager, a content provider, a view system, a telephony manager, a resource manager, a notification manager, a Bluetooth proxy module, and the like.
  • a window manager is used to manage window programs.
  • the window manager can get the size of the display screen, determine whether there is a status bar, lock the screen, take screenshots, etc.
  • Content providers are used to store and retrieve data and make these data accessible to applications.
  • the data may include video, images, audio, calls made and received, browsing history and bookmarks, phone book, etc.
  • the view system includes visual controls, such as controls for displaying text, controls for displaying pictures, and so on. View systems can be used to build applications.
  • a display interface can consist of one or more views.
  • the display interface including the short message notification icon may include a view for displaying text and a view for displaying pictures.
  • the phone manager is used to provide the communication function of the electronic device 100 .
  • the management of call status including connecting, hanging up, etc.).
  • the resource manager provides various resources for the application, such as localization strings, icons, pictures, layout files, video files and so on.
  • the notification manager enables applications to display notification information in the status bar, which can be used to convey notification-type messages, and can disappear automatically after a brief pause without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc.
  • the notification manager can also display notifications in the status bar at the top of the system in the form of graphs or scroll bar text, such as notifications of applications running in the background, and notifications that appear on the screen in the form of dialog windows. For example, text information is prompted in the status bar, a prompt sound is issued, the electronic device vibrates, and the indicator light flashes.
  • the Bluetooth proxy module is used to wake up the target application after the Bluetooth chip senses the broadcast signal of the first device.
  • the Android runtime includes core libraries and a virtual machine. Android runtime is responsible for scheduling and management of the Android system.
  • the core library consists of two parts: one is the function functions that the java language needs to call, and the other is the core library of Android.
  • the application layer and the application framework layer run in virtual machines.
  • the virtual machine executes the java files of the application layer and the application framework layer as binary files.
  • the virtual machine is used to perform functions such as object lifecycle management, stack management, thread management, safety and exception management, and garbage collection.
  • a system library can include multiple functional modules. For example: surface manager (surface manager), media library (media library), 3D graphics processing library (eg: OpenGL ES), 2D graphics engine (eg: SGL), etc.
  • surface manager surface manager
  • media library media library
  • 3D graphics processing library eg: OpenGL ES
  • 2D graphics engine eg: SGL
  • the Surface Manager is used to manage the display subsystem and provides a fusion of 2D and 3D layers for multiple applications.
  • the media library supports playback and recording of a variety of commonly used audio and video formats, as well as still image files.
  • the media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
  • the 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.
  • 2D graphics engine is a drawing engine for 2D drawing.
  • the kernel layer is the layer between hardware and software.
  • the kernel layer contains at least display drivers, camera drivers, audio drivers, and sensor drivers.
  • FIG. 6 is a schematic flowchart of an example of a target service execution method provided by an embodiment of the present application, and the method includes:
  • S101 Receive a first broadcast signal from a first device, where the first broadcast signal carries an identifier of the first device.
  • the first device may be a Bluetooth device, such as bluetooth low energy (BLE), the first device continuously transmits a first broadcast signal in a powered-on state, and the first broadcast signal carries the first device
  • BLE bluetooth low energy
  • the identifier of the first device is used to identify information such as the location of the first device (such as distinguishing toll stations, distinguishing between turns and turns), functions (such as wake-up function).
  • the Bluetooth function (or other communication function) of the electronic device is turned on, the first broadcast signal can be scanned at a normal duty cycle (such as 5%), and when it is within the signal coverage of the first device, the The first broadcast signal of the first device.
  • S102 Start a target application in the electronic device according to the identifier of the first device.
  • the target application can be a highway toll collection application (APP), and the user needs to download the application to the electronic device and register in advance, and then the highway toll collection server can transfer all the applications deployed in the highway toll collection scene.
  • the identification of the device is sent to the electronic device for storage.
  • the electronic device can compare the identification of the first device with the pre-stored device identification set. , then it can be determined that the received first broadcast signal is a "real" signal used to wake up the target application, and start the target application in the electronic device, that is, at this time, the target application transitions from the dormant state to the active state.
  • the first device may only be used to start the target application in the electronic device, and does not establish a communication connection with the electronic device.
  • S103 when receiving the second broadcast signal from the second device, establish a communication connection between the target application and the second device according to the identifier of the second device carried by the second broadcast signal, to execute the target service corresponding to the target application; wherein the first device is one of at least one first device deployed on the moving path of the electronic device, and the second device is deployed on the electronic device One of at least one second device on the movement path of the device, the first device being deployed relative to the second device at one end near the origin of the movement path of the electronic device.
  • the second device (such as a Bluetooth device) deployed behind the first device also continues to transmit the second broadcast signal in the power-on state.
  • the electronic device After the electronic device starts the target application, if it receives a For the second broadcast signal, the electronic device can also compare the identifier of the second device carried by the second broadcast signal with the device identifier set. If there is an identifier matching the identifier of the second device in the device identifier set, it can Determine that the received second broadcast signal is a "real" signal used for transaction connection, and establish a communication connection between the target application and the second device, and then execute the target service corresponding to the target application, such as the road toll application corresponding The toll payment service completes the sensorless transaction process in the highway toll scene.
  • the moving path of the above electronic device is the driving path of the vehicle, that is, the ramp path in FIG. 1
  • the first device is one of at least one first device on the path
  • the second device is on the path. one of the at least one second device, the first device being deployed relative to the second device at an end close to the origin of the path.
  • the first broadcast signal received by the electronic device in this embodiment may be transmitted by the first device 11
  • the received second broadcast signal may be transmitted by the second device 22 , that is, after the first device 11 wakes up the target application in the electronic device, the second device 22 establishes a communication connection with the target application to execute the target service.
  • the target application can send the task information required for executing the target service to the second device, and the second device further sends the task information to the server, and the server verifies the task information.
  • the verification result can be sent back to the electronic device, and then the target service can be executed.
  • the target application can directly send the task information required for executing the target service to the server, and the server verifies the task information and sends the verification result back to the electronic device, thereby executing the target service.
  • the above-mentioned target service execution method by deploying the first device at an end that is close to the starting point of the moving path of the electronic device relative to the second device, firstly starts the target application in the electronic device through the first device to ensure that the target application is established with the second device.
  • the target application has been started before the connection, thereby improving the success rate of establishing a connection between the electronic device and the second device, so as to improve the success rate of completing the target service.
  • the signal coverage of the first device, the signal coverage of the second device, the startup time of the target application and the electronic determines the deployment distance between the first device and the second device.
  • the signal coverage of the first device and the second device are both 40 meters (m) in diameter
  • the electronic device moves to point A at the edge of the signal coverage of the first device.
  • the target application starts to be started.
  • the start time of the target application is 3-5 seconds (s)
  • the start time is 4s and the moving speed of the electronic terminal is 15 meters.
  • the electronic terminal will only start the target application when it moves 60m; then, after the target application is started and then enter the signal coverage of the second device, the electronic device can be greatly improved.
  • the deployment distance between the first device and the second device should be greater than (20+60+20)m; when the electronic terminal enters the signal coverage of the second device, it is It usually takes only 1 s for the second device to establish a connection and execute the target service, and the electronic terminal only moves about 15m and is still within the signal coverage of the second device, thereby improving the reliability of the entire process.
  • the above electronic device may include a Bluetooth chip, a target application, a Bluetooth proxy module, an open mobile alliance application programming interface (OMAAPI), a secure element (SE) and Trusted Execution Environment (Trusted Execution Environment, TEE), SE contains applet applet, TEE contains applet (tEE application, TA).
  • OMAAPI open mobile alliance application programming interface
  • SE secure element
  • TEE Trusted Execution Environment
  • SE contains applet applet
  • TEE contains applet (tEE application, TA).
  • the following takes the target application as a highway toll application, the first device as a Bluetooth wake-up device, and the second device as a Bluetooth transaction device as an example to introduce the above-mentioned target service execution method process.
  • the method may include:
  • the Bluetooth wake-up device transmits a first broadcast signal, and the first broadcast signal carries an identifier of the Bluetooth wake-up device;
  • the bluetooth chip receives the first broadcast signal of the bluetooth wake-up device
  • the bluetooth chip compares the identifier of the bluetooth wake-up device with the set of device identifiers pre-stored in the electronic device;
  • the bluetooth chip sends a first instruction message to the bluetooth proxy module to instruct the bluetooth proxy module to start the highway toll application;
  • the highway toll collection application sends a second instruction message to the Bluetooth chip to instruct the Bluetooth chip to detect the second broadcast signal of the Bluetooth transaction device;
  • the Bluetooth chip detects the second broadcast signal of the Bluetooth transaction device according to the highest duty cycle (eg 100%) power, and the second broadcast signal carries the identifier of the Bluetooth transaction device;
  • the Bluetooth transaction device transmits a second broadcast signal, and the second broadcast signal carries the identifier of the Bluetooth transaction device;
  • the Bluetooth chip when receiving the second broadcast signal from the Bluetooth transaction device, the Bluetooth chip compares the identification of the Bluetooth transaction device with the device identification set;
  • the OMAAPI in the above electronic equipment is an interface for calling the applet in the SE through the rich execution environment (REE), the Bluetooth chip and the SE can also be connected through the OMAAPI, and the Bluetooth chip can also be connected with the TEE.
  • the applet of SE and the TA of TEE can store the ciphertext for charging payment, providing a secure transaction environment for the payment process.
  • it can be ensured that the road toll application has been started before the road toll application establishes a communication connection with the Bluetooth transaction device, thereby improving the success rate of establishing a communication connection between the road toll application and the Bluetooth transaction device and the success rate of payment transactions.
  • the user before using the above highway toll application, the user also needs to install the application on the electronic device and register it.
  • the registration interface of the highway toll application can be seen in Figure 9, and the user needs to fill in the ID number, license plate number, mobile phone number, etc. number, select a payment account, and enter information such as face images.
  • multiple electronic devices can be bound with the same vehicle, and the priority level of the payment account can be set; in addition, one electronic device can also be bound with multiple vehicles, when the payment service is not required, it can also be used at any time. Unbind.
  • the highway toll application sends the registration information to the server, and the server checks the registration information for risk control, such as reviewing the safety and legality of vehicle information, mobile phone number and payment account, and the matching of face image and ID card information.
  • the server can agree on the deduction method with the payment background corresponding to the payment account, such as password-free deduction.
  • the server can also download the transaction TA or applet to the electronic device to provide a secure transaction environment for the payment process; of course, the server can also download the transaction TA or applet to the electronic device after receiving the registration information sent by the road toll application, that is, There is no limitation on the moment when the transaction TA or applet is downloaded.
  • the server also downloads the identification of the Bluetooth devices deployed on the highway ramp to the electronic device, and the electronic device can store the identification of each Bluetooth device, and grant the Bluetooth proxy module the permission to start (or wake up) the highway toll application.
  • the download and registration of the highway toll application can be handled by users themselves, without the need for other hardware devices, which improves the user experience.
  • the highway toll application can send the vehicle information bound to the Bluetooth transaction device, and the Bluetooth transaction device can send the vehicle information to the Bluetooth transaction device.
  • the information is sent to the server, and the server will also receive the vehicle information sent by the vehicle identification device set at the toll booth.
  • the server compares the license plate numbers in the two vehicle information to see if they are consistent.
  • the payment fee is sent to the road toll collection application through the Bluetooth transaction device for toll payment, and the process may be shown in (a) of FIG. 10 .
  • the highway toll application directly sends the vehicle information bound to it to the server, the server compares the vehicle information with the vehicle information sent by the vehicle identification device, and if the license plate number is consistent, calculates the payment fee payable by the vehicle, and sends the payment fee to
  • the highway toll application performs toll payment, and the process can be shown in (b) of FIG. 10 .
  • the server can notify the bluetooth transaction device, and the bluetooth transaction device in turn notifies the highway toll application, the two parties disconnect the communication connection, and the bluetooth chip resumes the normal scanning duty ratio (eg 5%). Since then, the road tolling application will no longer connect to the Bluetooth transaction device even if it is still deployed in front of the vehicle.
  • the highway toll application can also display the transaction results to the user through images, sounds, texts and other prompts, such as whether the payment is successful, the information of the in-turn and out-turn, and the deduction amount, etc.
  • the electronic device defaults to the Bluetooth off state.
  • the user drives the vehicle to the highway, he can turn on the Bluetooth switch according to his needs through the setting interface of Figure 11.
  • the electronic device can jump to the Bluetooth switch interface shown in (b) in FIG. 11; when the user clicks the Bluetooth switch 42 in (b) in FIG. (c) Figure interface, on which the toll payment service can be started by clicking the toll payment switch 43 .
  • the electronic device if the first device 11 wakes up the target application in the electronic device, the electronic device does not pass through the signal coverage of the first device 12 , the first device 13 and the first device 14 . Then respond to its broadcast signal; if the first device 11 does not wake up the target application in the electronic device, the first device 12 continues to wake up the target application, and so on.
  • the target application in the electronic device After the target application in the electronic device is woken up and started, it can establish a communication connection with the second device 21 when it enters the signal coverage of the second device 21; if the second device 21 fails to establish a connection with the electronic device, enter the When the signal coverage of the second device 22 is within the range, a communication connection can be established with the second device 22, and so on.
  • the biometric information can be further used for authentication.
  • a face image acquisition device can be installed at the front end of the ramp bar. The user can collect the face image by rolling down the car window, and then send the collected face image to the server for face verification, and execute the target business after the verification is passed. ; It is also possible to receive the biometric information input by the user through the target application through the target application of the electronic device, and send the biometric information to the server for verification to execute the target service.
  • the biometric information input through the target application can be In addition to the face image, it can also be a fingerprint, an iris, etc.
  • this information needs to be entered and registered by the user during registration.
  • the user can open the collection interface by himself, or the electronic device can automatically open the information after obtaining the information that the target service has not been successfully executed, so as to reduce the manual operation of the user.
  • multiple electronic devices can be bound to the same vehicle, and one electronic device can also be bound to multiple vehicles.
  • electronic device B is bound to vehicle A
  • electronic device C is bound to other vehicles
  • the road toll application in electronic device B and the road toll in electronic device C The application may be activated and establish a communication connection with the second device, and then both electronic device B and electronic device C will send the bound vehicle information to the server; however, the license plate recognition device at the ramp only collects the vehicle A's Vehicle information, then the server will only initiate a deduction to the electronic device B corresponding to the vehicle A. Since the server has not received the vehicle information corresponding to the electronic device C, it will not initiate a deduction to the electronic device C.
  • the face image acquisition device at the ramp can be used to collect the face image and send the face image. After the server verifies that it is a registered face image, it can initiate a deduction to its agreed payment background to complete the payment.
  • the face image acquisition device at the ramp can also be used to collect the face image, and the face image is sent to the server, and the server confirms after verification. If it is a registered face image, you can initiate a deduction to the agreed payment background to complete the payment.
  • the above-mentioned target service execution method is not only applicable to the scene of expressway toll service, but also applicable to the punch-in scene of fast moving target and other scenes (such as traffic danger road section reminder, road condition broadcast, introduction of tourist attractions, advertisement push around businesses, The monitoring personnel’s itinerary data is automatically reported, etc.), and the execution processes in these scenarios are described below:
  • the schematic diagram of scenario 1 can be seen in Figure 12.
  • the third device 51, the third device 52, the fourth device 61, and the fourth device 62 are deployed on the roadside adjacent to the user company.
  • the third device can be a Bluetooth wake-up device, and the fourth device
  • the device can be a Bluetooth punch device.
  • the Bluetooth chip in the electronic device receives the third broadcast signal of the Bluetooth wake-up device, and the third broadcast signal carries the identification of the Bluetooth wake-up device; the Bluetooth chip will send the Bluetooth wake-up device identification.
  • the Bluetooth chip compares with the pre-stored device identification set of the punch-in location; if there is an identification in the device identification set that matches the identification of the Bluetooth wake-up device, the Bluetooth chip instructs the Bluetooth agent module to start the punch-in application; the punch-in application instructs the Bluetooth chip to follow the highest duty cycle power Detect the fourth broadcast signal of the Bluetooth punch-in device, and the fourth broadcast signal carries the identification of the Bluetooth punch-in device; when receiving the fourth broadcast signal from the Bluetooth punch-in device, the Bluetooth chip compares the identification of the Bluetooth punch-in device with the device identification set ; If there is an identification matching the identification of the Bluetooth punching device in the device identification set, the Bluetooth proxy module establishes a communication connection between the punching application and the Bluetooth punching device to perform the user punching task.
  • users do not need to manually open the punch-in application to punch in, which reduces the potential safety hazards caused by operating electronic devices while driving, realizes an automatic and safe punch-in process, and is not easy to forge punch-in locations.
  • the user Before using the electronic device to perform the punch-in business, the user also needs to register on the punch-in application of the electronic device, and the registration interface may be shown in FIG. 13 . It should be noted that the user needs to fill in the punch-in address when registering, so that after the electronic device sends the registration information to the server, the server downloads the device identification of the corresponding device to the electronic device for storage according to the punch-in location.
  • the electronic device can send the corresponding positioning information (such as the positioning information obtained through GPRS positioning) to the Bluetooth punch-in device, so that the Bluetooth punch-in device can send the positioning information to The server performs verification, such as matching the positioning information with the punch-in address filled in by the user during registration, and if the match is successful, the punch-in success result is returned; or, the electronic device directly sends the corresponding positioning information to the server for verification to execute the punch-in process.
  • the corresponding positioning information such as the positioning information obtained through GPRS positioning
  • the server performs verification, such as matching the positioning information with the punch-in address filled in by the user during registration, and if the match is successful, the punch-in success result is returned; or, the electronic device directly sends the corresponding positioning information to the server for verification to execute the punch-in process.
  • a Bluetooth wake-up device and a Bluetooth broadcast device can be deployed bidirectionally on the road section.
  • the above-mentioned target service execution method can be used to establish a communication connection between the electronic device and the Bluetooth broadcast device.
  • the Bluetooth broadcast device can send the road section reminder message or the road condition broadcast message sent by the server to the electronic device to remind the user to drive safely.
  • the security reminder can also be received even if the electronic device is not connected to the Internet.
  • the implementation method thereof is similar to the implementation method of the above-mentioned embodiment, and will not be repeated here.
  • the electronic device includes corresponding hardware and/or software modules for executing each function.
  • the present application can be implemented in hardware or a combination of hardware and computer software with the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein. Whether a function is performed by hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functionality for each particular application in conjunction with the embodiments, but such implementations should not be considered beyond the scope of this application.
  • the electronic device can be divided into functional modules according to the above method examples.
  • each function can be divided into each functional module, such as a detection unit, a processing unit, a display unit, etc., or two or more
  • the functions are integrated in one module.
  • the above-mentioned integrated modules can be implemented in the form of hardware, and can also be implemented in the form of software function modules. It should be noted that, the division of modules in the embodiments of the present application is schematic, and is only a logical function division, and there may be other division manners in actual implementation.
  • the electronic device provided in this embodiment is used to execute the above target service execution method, so the same effect as the above implementation method can be achieved.
  • the electronic device may also include a processing module, a storage module and a communication module.
  • the processing module may be used to control and manage the actions of the electronic device.
  • the storage module may be used to support the electronic device to execute stored program codes and data, and the like.
  • the communication module can be used to support the communication between the electronic device and other devices.
  • the processing module may be a processor or a controller. It may implement or execute the various exemplary logical blocks, modules and circuits described in connection with this disclosure.
  • the processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of digital signal processing (DSP) and a microprocessor, and the like.
  • the storage module may be a memory.
  • the communication module may specifically be a device that interacts with other electronic devices, such as a radio frequency circuit, a Bluetooth chip, and a Wi-Fi chip.
  • the electronic device involved in this embodiment may be a device having the structure shown in FIG. 4 .
  • Embodiments of the present application further provide a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the processor is made to execute the description in any of the foregoing embodiments.
  • the target business execution method is not limited to:
  • Embodiments of the present application also provide a computer program product, which, when the computer program product runs on a computer, causes the computer to execute the above-mentioned relevant steps, so as to realize the target service execution method in the above-mentioned embodiment.
  • the embodiments of the present application also provide an apparatus, which may specifically be a chip, a component or a module, and the apparatus may include a connected processor and a memory; wherein, the memory is used for storing computer execution instructions, and when the apparatus is running, The processor can execute the computer-executed instructions stored in the memory, so that the chip executes the target service execution method in the above method embodiments.
  • the electronic device, computer-readable storage medium, computer program product or chip provided in this embodiment are all used to execute the corresponding method provided above. Therefore, for the beneficial effects that can be achieved, reference may be made to the above-provided method. The beneficial effects in the corresponding method will not be repeated here.
  • the disclosed apparatus and method may be implemented in other manners.
  • the apparatus embodiments described above are only illustrative.
  • the division of modules or units is only a logical function division. In actual implementation, there may be other division methods.
  • multiple units or components may be combined or May be integrated into another device, or some features may be omitted, or not implemented.
  • the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
  • Units described as separate components may or may not be physically separated, and components shown as units may be one physical unit or multiple physical units, that is, may be located in one place, or may be distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
  • the above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a readable storage medium.
  • a readable storage medium including several instructions to make a device (which may be a single chip microcomputer, a chip, etc.) or a processor (processor) to execute all or part of the steps of the methods in the various embodiments of the present application.
  • the aforementioned storage medium includes: U disk, mobile hard disk, read only memory (ROM), random access memory (random access memory, RAM), magnetic disk or optical disk and other media that can store program codes.

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Finance (AREA)
  • Accounting & Taxation (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Economics (AREA)
  • Multimedia (AREA)
  • Development Economics (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Primary Health Care (AREA)
  • Tourism & Hospitality (AREA)
  • Telephone Function (AREA)

Abstract

本申请实施例提供了一种目标业务执行方法和电子设备,该方法包括:接收到来自第一设备的第一广播信号,第一广播信号携带第一设备的标识;根据第一设备的标识,启动电子设备中的目标应用;在接收到来自第二设备的第二广播信号时,根据第二广播信号携带的第二设备的标识,建立目标应用与第二设备之间的通信连接,以执行目标应用对应的目标业务;其中,第一设备是部署在电子设备的移动路径上的至少一个第一设备中的一个,第二设备是部署在电子设备的移动路径上的至少一个第二设备中的一个,第一设备相对于第二设备部署在靠近电子设备的移动路径的起点的一端。以上方法可以提高电子设备与第二设备建立连接的成功率。

Description

目标业务执行方法和电子设备
本申请要求于2020年09月30日提交国家知识产权局、申请号为202011063589.1、申请名称为“目标业务执行方法和电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及电子技术领域,具体涉及一种目标业务执行方法和电子设备。
背景技术
在高速公路收费模式的发展过程中,早期多数是由工作人员进行的人工收费模式,这无疑会耗费大量的人力物力,且一车一收费也会增加收费时长。近年来,为解决人工收费模式带来的问题,电子不停车收费系统(electronic toll collection,ETC)应运而生;其通过安装在车辆挡风玻璃上的车载电子标签与在收费站ETC车道上的微波天线之间的微波专用短程通讯,利用计算机联网技术与银行进行后台结算处理,从而达到车辆通过高速公路收费站不需停车而能交纳过路费的目的。
然而,采用ETC技术需要为每个车辆安装及更新车载电子标签,其硬件成本较高,且不易管理使用人员(如车被借出使用的情况下,还要继续支付高速过路费用)。随着移动终端的应用普及,已有将ETC支付模式转换为使用移动终端进行支付的相关技术。
但是,因车辆在高速公路上快速移动,采用传统技术会导致移动终端来不及建立连接、无法完成支付交易的问题。
发明内容
本申请实施例提供了一种目标业务执行方法和电子设备,能够提高电子终端在目标业务执行过程建立连接的成功率。
第一方面,本申请实施例提供一种目标业务执行方法,所述方法由电子设备执行,包括:接收到来自第一设备的第一广播信号,所述第一广播信号携带所述第一设备的标识;根据所述第一设备的标识,启动所述电子设备中的目标应用;在接收到来自第二设备的第二广播信号时,根据所述第二广播信号携带的所述第二设备的标识,建立所述目标应用与所述第二设备之间的通信连接,以执行所述目标应用对应的目标业务;其中,所述第一设备是部署在所述电子设备的移动路径上的至少一个第一设备中的一个,所述第二设备是部署在所述电子设备的移动路径上的至少一个第二设备中的一个,所述第一设备相对于所述第二设备部署在靠近所述电子设备的移动路径的起点的一端。
其中,电子设备可以为移动终端、车载设备、或者其他类型的设备;第一设备可以为蓝牙设备,其标识可以为通用唯一识别码(universally unique identifier,UUID),该第一设备用于唤醒启动电子设备中的目标应用;第二设备也可以为蓝牙设备,用于建立与目标应用的通信连接;目标应用可以为公路收费应用、打卡应用或其他功能的应用。
上述目标业务执行方法,通过将第一设备部署于相对第二设备靠近电子设备的移动路径的起点的一端,通过第一设备先将电子设备中的目标应用启动,以确保在与第二设备建立连接之前目标应用已启动,进而提高电子设备与第二设备建立连接的成功率,以提高目 标业务完成的成功率。
结合第一方面,在第一方面的有些实现方式中,所述第一设备和所述第二设备之间的部署距离根据所述第一设备的信号覆盖范围、所述第二设备的信号覆盖范围、所述目标应用的启动时长及所述电子设备的移动速度所确定。
结合第一方面和上述实现方式,通过上述方式确定第一设备和第二设备的部署距离,可进一步确保在电子设备进入第二设备的信号覆盖范围前,电子设备中的目标应用已启动,进一步提高电子设备与第二设备建立连接的成功率。
一种可能的实现方式中,上述根据所述第一设备的标识,启动所述电子设备中的目标应用,包括:将所述第一设备的标识与所述电子设备中预存的设备标识集合进行比对;若所述设备标识集合中存在与所述第一设备的标识匹配的标识,启动所述电子设备中的目标应用。
其中,预存的设备标识集合为用户通过电子设备在目标应用上进行注册后,由服务器下发至电子设备中的已部署的设备的标识。电子设备通过将接受到的第一设备的标识与设备标识集合进行比对,可确定第一设备是否为真实部署的设备,从而避免因一些干扰设备(或干扰信号)引起不必要的目标应用启动操作。
一种可能的实现方式中,所述电子设备包括蓝牙代理模块,所述启动所述电子设备中的目标应用,包括:通过所述蓝牙代理模块启动所述电子设备中的目标应用。
可选地,电子设备可以包括蓝牙芯片和蓝牙代理模块,待蓝牙芯片通过比对上述第一设备的标识和设备标识集合后,可以通过蓝牙代理模块运行启动目标应用,则无需用户手动进行操作,从而实现对用户来说的无感执行过程,提高了目标业务执行流程的便利性。
一种可能的实现方式中,在所述启动所述电子设备中的目标应用之后,所述方法还包括:根据所述目标应用的指示指令,按照最高占空比功率检测第二设备的第二广播信号。
其中,最高占空比功率可以为100%占空比功率,目标应用启动后,电子设备按照最高占空比功率扫描检测第二设备的第二广播信号,可提高检测到第二广播信号的成功率,且可以较快的检测到第二广播信号。
一种可能的实现方式中,所述目标应用包括公路收费应用,所述目标业务包括收费支付业务;所述执行所述目标应用对应的目标业务,包括:将所述电子设备对应的车辆信息发送至所述第二设备,用于使所述第二设备将所述车辆信息发送至服务器计算支付费用,以执行所述收费支付业务;或者,将所述电子设备对应的车辆信息发送至所述服务器,用于所述服务器计算支付费用,以执行所述收费支付业务。
其中,公路收费应用可以为电子设备上安装的一种应用程序,可实现高速公路的自动收费功能,其可以使用户无需在车内再安装其他硬件,以减少硬件成本。由上述实现方式可知,该公路收费应用与第二设备之间建立通信连接的过程也无需用户操作,从而可实现公路收费过程的无感交易过程,提高用户体验度。
一种可能的实现方式中,所述目标应用包括打卡应用,所述目标业务包括打卡业务;所述执行所述目标应用对应的目标业务,包括:将所述电子设备对应的定位信息发送至所述第二设备,用于使所述第二设备将所述定位信息发送至服务器进行验证,以执行所述打卡业务;或者,将所述电子设备对应的定位信息发送至所述至服务器进行验证,以执行所述打卡业务。
其中,打卡应用也可以为电子设备上安装的一种应用程序,可实现用户的自动打卡功能,在自动打卡过程中,同样无需用户操作,提高用户体验度。
一种可能的实现方式中,若所述电子设备移动至所述移动路径的终点时,所述目标业务未执行成功,所述方法还包括:接收用户通过所述目标应用输入的生物识别信息,将所述生物识别信息发送至所述服务器以执行所述目标业务。
在一些场景中,若电子设备移动至移动路径的终点时,比如用户所驾驶的车辆已经到达收费口,但电子设备没有和第二设备建立连接或者未支付成功,则用户还可以通过输入生物识别信息(如人脸图像、指纹、虹膜等)进行再次支付,即考虑了业务异常情况下的处理方式,进一步提高了用户的体验度。
一种可能的实现方式中,上述方法还包括用户通过目标应用进行注册的过程:接收用户通过所述目标应用输入的注册信息,所述注册信息包括用户标识和目标业务标识;将所述注册信息发送至服务器进行用户注册。
其中,用户标识可以为身份证号码、手机号码等可以唯一标识用户的信息;对于公路收费支付业务,目标业务标识可以为车牌号码等信息。注册完成后,服务器还可以向电子设备下载安全交易环境(如交易TA或Applet等)、以及已部署的设备的标识,以向后续的目标业务执行过程提供数据基础。
第二方面,本申请实施例提供一种装置,该装置包含在电子设备中,该装置具有实现上述第一方面及上述第一方面的可能实现方式中电子设备行为的功能。功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。硬件或软件包括一个或多个与上述功能相对应的模块或单元。例如,接收模块或单元、处理模块或单元等。
第三方面,本申请实施例提供一种电子设备,电子设备包括:处理器、存储器和接口;处理器、存储器和接口相互配合,使得电子设备执行第一方面所述的技术方案中任意一种方法。
第四方面,本申请实施例提供一种芯片,包括处理器。处理器用于读取并执行存储器中存储的计算机程序,以执行第一方面及其任意可能的实现方式中的方法。
可选地,所述芯片还包括存储器,存储器与处理器通过电路或电线连接。
进一步可选地,所述芯片还包括通信接口。
第五方面,本申请实施例提供一种计算机可读存储介质,所述计算机可读存储介质中存储了计算机程序,当所述计算机程序被处理器执行时,使得该处理器执行第一方面所述的技术方案中任意一种方法。
第六方面,本申请实施例提供一种计算机程序产品,所述计算机程序产品包括:计算机程序代码,当所述计算机程序代码在电子设备上运行时,使得该电子设备执行第一方面所述的技术方案中任意一种方法。
附图说明
图1是本申请实施例提供的一例目标业务执行方法的应用场景图;
图2是本申请实施例提供的另一例目标业务执行方法的应用场景图;
图3是本申请实施例提供的一例通信设备组网系统的结构示意图;
图4是本申请实施例提供的一例电子设备的结构示意图;
图5是本申请实施例提供的电子设备的软件结构框图;
图6是本申请实施例提供的一例目标业务执行方法的流程示意图;
图7是本申请实施例提供的一例设置第一设备和第二设备部署距离的示意图;
图8是本申请实施例提供的一例目标业务执行方法的交互流程示意图;
图9是本申请实施例提供的一例公路收费应用的注册界面示意图;
图10中的(a)图是本申请实施例提供的一例收费支付过程的流程示意图;
图10中的(b)图是本申请实施例提供的另一例收费支付过程的流程示意图;
图11中的(a)图是本申请实施例提供的一例设置界面示意图;
图11中的(b)图是本申请实施例提供的一例蓝牙开关界面示意图;
图11中的(c)图是本申请实施例提供的一例收费支付业务开关界面示意图;
图12是本申请实施例提供的另一例目标业务执行方法的应用场景图;
图13是本申请实施例提供的一例打卡应用的注册界面示意图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述。其中,在本申请实施例的描述中,除非另有说明,“/”表示或的意思,例如,A/B可以表示A或B;本文中的“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,在本申请实施例的描述中,“多个”是指两个或多于两个。
以下,术语“第一”、“第二”、“第三”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”、“第三”的特征可以明示或者隐含地包括一个或者更多个该特征。
本申请实施例提供的目标业务执行方法可以应用于手机、平板电脑、可穿戴设备、车载设备、增强现实(augmented reality,AR)/虚拟现实(virtual reality,VR)设备、笔记本电脑、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本、个人数字助理(personal digital assistant,PDA)等可以安装应用程序(application,APP)的电子设备上,本申请实施例对电子设备的具体类型不作任何限制。
本申请实施例提供的目标业务执行方法可以应用于如图1所示的高速公路收费场景中,需要说明的是,图1中以第一设备11、第一设备12、第一设备13、第一设备14共4台第一设备,以及第二设备21、第二设备22、第二设备23共3台第二设备为例示出,但本实施例对第一设备和第二设备的具体数量及交替顺序不做限制。其中,第一设备和第二设备可以为蓝牙设备,也可以为其他通信方式(如超带宽(ultra wide band,UWB)通信方式)的设备,第一设备和第二设备部署于收费站前的匝道上,且第一设备相对于第二设备部署于匝道上靠近高速主路的位置。当用户携带电子设备100驱车行驶到收费站前的匝道上时,电子设备100可感受到第一设备的广播信号,并启动电子设备100上安装的公路收费应用;然后,电子设备100继续检测第二设备的广播信号,并在检测到第二设备的广播信号后建立与第二设备的连接,进而完成收费支付过程。可以理解,第一设备的功能为用于唤醒电子设备100上的公路收费应用,第二设备的功能为用于与电子设备100建立连接以完成交易;在一些实施例中,第一设备和第二设备还可以为集唤醒和交易为一体的复合设备。
在一些场景中,如晚间的高速公路上通行车辆较少,为减少第一设备和第二设备的耗电量以及提高使用寿命,可以在一些时间段(如0:00-5:00)停止第一设备和第二设备的上电,并在匝道的最前方设置一上电设备31,该上电设备31可通过红外信号或震动信号感受到车辆经过,并在感受到车辆经过时触发供电设备(图中未示出)向第一设备和第二设备上电,例如,上电设备31可以向供电设备发送上电指令,用于指示供电设备向第一设备和第二设备上电。还比如在偏僻地区的高速公路上,也可以设置该上电设备31,平时可停止第一设备和第二设备的上电,只有当上电设备31感受到车辆经过时触发供电设备向第一设备和第二设备上电。该包含上电设备31的场景图可参见图2所示。
在上述图2所示的应用场景下,本申请实施例还提供了一种通信设备组网系统,示例性的,如图3所示,该系统包括第一设备11、第一设备12、第一设备13、第一设备14、第二设备21、第二设备22、第二设备23、上电设备31和供电设备32;其中,第一设备11、第一设备12、第一设备13、第一设备14分别与供电设备32通信连接,第二设备21、第二设备22、第二设备23也分别与供电设备32通信连接,上电设备31同样与供电设备32通信连接。需要说明的是,本申请实施例对第一设备和第二设备的个数并不做限制。当上电设备31通过红外信号或震动信号感受到车辆经过时向供电设备32发送上电指令,触发供电设备32向第一设备和第二设备上电。
示例性的,图4是本申请实施例提供的一例电子设备100的结构示意图。电子设备100可以包括处理器110,外部存储器接口120,内部存储器121,通用串行总线(universal serial bus,USB)接口130,充电管理模块140,电源管理模块141,电池142,天线1,天线2,移动通信模块150,无线通信模块160,音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,传感器模块180,按键190,马达191,指示器192,摄像头193,显示屏194,以及用户标识模块(subscriber identification module,SIM)卡接口195等。其中传感器模块180可以包括压力传感器180A,陀螺仪传感器180B,气压传感器180C,磁传感器180D,加速度传感器180E,距离传感器180F,接近光传感器180G,指纹传感器180H,温度传感器180J,触摸传感器180K,环境光传感器180L,骨传导传感器180M等。
可以理解的是,本申请实施例示意的结构并不构成对电子设备100的具体限定。在本申请另一些实施例中,电子设备100可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,存储器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。
其中,控制器可以是电子设备100的神经中枢和指挥中心。控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。
处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器 110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器110的等待时间,因而提高了系统的效率。
在一些实施例中,处理器110可以包括一个或多个接口。接口可以包括集成电路(inter-integrated circuit,I2C)接口,集成电路内置音频(inter-integrated circuit sound,I2S)接口,脉冲编码调制(pulse code modulation,PCM)接口,通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口,移动产业处理器接口(mobile industry processor interface,MIPI),通用输入输出(general-purpose input/output,GPIO)接口,用户标识模块(subscriber identity module,SIM)接口,和/或通用串行总线(universal serial bus,USB)接口等。
I2C接口是一种双向同步串行总线,包括一根串行数据线(serial data line,SDA)和一根串行时钟线(derail clock line,SCL)。在一些实施例中,处理器110可以包含多组I2C总线。处理器110可以通过不同的I2C总线接口分别耦合触摸传感器180K,充电器,闪光灯,摄像头193等。例如:处理器110可以通过I2C接口耦合触摸传感器180K,使处理器110与触摸传感器180K通过I2C总线接口通信,实现电子设备100的触摸功能。
I2S接口可以用于音频通信。在一些实施例中,处理器110可以包含多组I2S总线。处理器110可以通过I2S总线与音频模块170耦合,实现处理器110与音频模块170之间的通信。在一些实施例中,音频模块170可以通过I2S接口向无线通信模块160传递音频信号,实现通过蓝牙耳机接听电话的功能。
PCM接口也可以用于音频通信,将模拟信号抽样,量化和编码。在一些实施例中,音频模块170与无线通信模块160可以通过PCM总线接口耦合。在一些实施例中,音频模块170也可以通过PCM接口向无线通信模块160传递音频信号,实现通过蓝牙耳机接听电话的功能。所述I2S接口和所述PCM接口都可以用于音频通信。
UART接口是一种通用串行数据总线,用于异步通信。该总线可以为双向通信总线。它将要传输的数据在串行通信与并行通信之间转换。在一些实施例中,UART接口通常被用于连接处理器110与无线通信模块160。例如:处理器110通过UART接口与无线通信模块160中的蓝牙模块通信,实现蓝牙功能。在一些实施例中,音频模块170可以通过UART接口向无线通信模块160传递音频信号,实现通过蓝牙耳机播放音乐的功能。
MIPI接口可以被用于连接处理器110与显示屏194,摄像头193等外围器件。MIPI接口包括摄像头串行接口(camera serial interface,CSI),显示屏串行接口(display serial interface,DSI)等。在一些实施例中,处理器110和摄像头193通过CSI接口通信,实现电子设备100的拍摄功能。处理器110和显示屏194通过DSI接口通信,实现电子设备100的显示功能。
GPIO接口可以通过软件配置。GPIO接口可以被配置为控制信号,也可被配置为数据信号。在一些实施例中,GPIO接口可以用于连接处理器110与摄像头193,显示屏194,无线通信模块160,音频模块170,传感器模块180等。GPIO接口还可以被配置为I2C接口,I2S接口,UART接口,MIPI接口等。
USB接口130是符合USB标准规范的接口,具体可以是Mini USB接口,Micro USB接口,USB Type C接口等。USB接口130可以用于连接充电器为电子设备100充电,也 可以用于电子设备100与外围设备之间传输数据。也可以用于连接耳机,通过耳机播放音频。该接口还可以用于连接其他电子设备,例如AR设备等。
可以理解的是,本申请实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对电子设备100的结构限定。在本申请另一些实施例中,电子设备100也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。
充电管理模块140用于从充电器接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。在一些有线充电的实施例中,充电管理模块140可以通过USB接口130接收有线充电器的充电输入。在一些无线充电的实施例中,充电管理模块140可以通过电子设备100的无线充电线圈接收无线充电输入。充电管理模块140为电池142充电的同时,还可以通过电源管理模块141为电子设备供电。
电源管理模块141用于连接电池142,充电管理模块140与处理器110。电源管理模块141接收电池142和/或充电管理模块140的输入,为处理器110,内部存储器121,外部存储器,显示屏194,摄像头193,和无线通信模块160等供电。电源管理模块141还可以用于监测电池容量,电池循环次数,电池健康状态(漏电,阻抗)等参数。在其他一些实施例中,电源管理模块141也可以设置于处理器110中。在另一些实施例中,电源管理模块141和充电管理模块140也可以设置于同一个器件中。
电子设备100的无线通信功能可以通过天线1,天线2,移动通信模块150,无线通信模块160,调制解调处理器以及基带处理器等实现。
天线1和天线2用于发射和接收电磁波信号。图4中的天线1和天线2的结构仅为一种示例。电子设备100中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。
移动通信模块150可以提供应用在电子设备100上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块150可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块150可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块150还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块150的至少部分功能模块可以被设置于处理器110中。在一些实施例中,移动通信模块150的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。
调制解调处理器可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后,被传递给应用处理器。应用处理器通过音频设备(不限于扬声器170A,受话器170B等)输出声音信号,或通过显示屏194显示图像或视频。在一些实施例中,调制解调处理器可以是独立的器件。在另一些实施例中,调制解调处理器可以独立于处理器110,与移动通信模块150或其他功能模块设置在同一个器件中。
无线通信模块160可以提供应用在电子设备100上的包括无线局域网(wireless local area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(bluetooth,BT), 全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。无线通信模块160可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块160经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。无线通信模块160还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。
在一些实施例中,电子设备100的天线1和移动通信模块150耦合,天线2和无线通信模块160耦合,使得电子设备100可以通过无线通信技术与网络以及其他设备通信。所述无线通信技术可以包括全球移动通讯系统(global system for mobile communications,GSM),通用分组无线服务(general packet radio service,GPRS),码分多址接入(code division multiple access,CDMA),宽带码分多址(wideband code division multiple access,WCDMA),时分码分多址(time-division code division multiple access,TD-SCDMA),长期演进(long term evolution,LTE),BT,GNSS,WLAN,NFC,FM,和/或IR技术等。所述GNSS可以包括全球卫星定位系统(global positioning system,GPS),全球导航卫星系统(global navigation satellite system,GLONASS),北斗卫星导航系统(beidou navigation satellite system,BDS),准天顶卫星系统(quasi-zenith satellite system,QZSS)和/或星基增强系统(satellite based augmentation systems,SBAS)。
电子设备100通过GPU,显示屏194,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏194和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器110可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。
显示屏194用于显示图像,视频等。显示屏194包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emitting diode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode的,AMOLED),柔性发光二极管(flex light-emitting diode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dot light emitting diodes,QLED)等。在一些实施例中,电子设备100可以包括1个或N个显示屏194,N为大于1的正整数。
电子设备100可以通过ISP,摄像头193,视频编解码器,GPU,显示屏194以及应用处理器等实现拍摄功能。
ISP用于处理摄像头193反馈的数据。例如,拍照时,打开快门,光线通过镜头被传递到摄像头感光元件上,光信号转换为电信号,摄像头感光元件将所述电信号传递给ISP处理,转化为肉眼可见的图像。ISP还可以对图像的噪点,亮度,肤色进行算法优化。ISP还可以对拍摄场景的曝光,色温等参数优化。在一些实施例中,ISP可以设置在摄像头193中。
摄像头193用于捕获静态图像或视频。物体通过镜头生成光学图像投射到感光元件。感光元件可以是电荷耦合器件(charge coupled device,CCD)或互补金属氧化物半导体(complementary metal-oxide-semiconductor,CMOS)光电晶体管。感光元件把光信号转换成电信号,之后将电信号传递给ISP转换成数字图像信号。ISP将数字图像信号输出到DSP加工处理。DSP将数字图像信号转换成标准的RGB,YUV等格式的图像信号。在一些实 施例中,电子设备100可以包括1个或N个摄像头193,N为大于1的正整数。
数字信号处理器用于处理数字信号,除了可以处理数字图像信号,还可以处理其他数字信号。例如,当电子设备100在频点选择时,数字信号处理器用于对频点能量进行傅里叶变换等。
视频编解码器用于对数字视频压缩或解压缩。电子设备100可以支持一种或多种视频编解码器。这样,电子设备100可以播放或录制多种编码格式的视频,例如:动态图像专家组(moving picture experts group,MPEG)1,MPEG2,MPEG3,MPEG4等。
NPU为神经网络(neural-network,NN)计算处理器,通过借鉴生物神经网络结构,例如借鉴人脑神经元之间传递模式,对输入信息快速处理,还可以不断的自学习。通过NPU可以实现电子设备100的智能认知等应用,例如:图像识别,人脸识别,语音识别,文本理解等。
外部存储器接口120可以用于连接外部存储卡,例如Micro SD卡,实现扩展电子设备100的存储能力。外部存储卡通过外部存储器接口120与处理器110通信,实现数据存储功能。例如将音乐,视频等文件保存在外部存储卡中。
内部存储器121可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。处理器110通过运行存储在内部存储器121的指令,从而执行电子设备100的各种功能应用以及数据处理。内部存储器121可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,至少一个功能所需的应用程序(比如声音播放功能,图像播放功能等)等。存储数据区可存储电子设备100使用过程中所创建的数据(比如音频数据,电话本等)等。此外,内部存储器121可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。
电子设备100可以通过音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,以及应用处理器等实现音频功能。例如音乐播放,录音等。
音频模块170用于将数字音频信息转换成模拟音频信号输出,也用于将模拟音频输入转换为数字音频信号。音频模块170还可以用于对音频信号编码和解码。在一些实施例中,音频模块170可以设置于处理器110中,或将音频模块170的部分功能模块设置于处理器110中。
扬声器170A,也称“喇叭”,用于将音频电信号转换为声音信号。电子设备100可以通过扬声器170A收听音乐,或收听免提通话。
受话器170B,也称“听筒”,用于将音频电信号转换成声音信号。当电子设备100接听电话或语音信息时,可以通过将受话器170B靠近人耳接听语音。
麦克风170C,也称“话筒”,“传声器”,用于将声音信号转换为电信号。当拨打电话或发送语音信息时,用户可以通过人嘴靠近麦克风170C发声,将声音信号输入到麦克风170C。电子设备100可以设置至少一个麦克风170C。在另一些实施例中,电子设备100可以设置两个麦克风170C,除了采集声音信号,还可以实现降噪功能。在另一些实施例中,电子设备100还可以设置三个,四个或更多麦克风170C,实现采集声音信号,降噪,还可以识别声音来源,实现定向录音功能等。
耳机接口170D用于连接有线耳机。耳机接口170D可以是USB接口130,也可以是 3.5mm的开放移动电子设备平台(open mobile terminal platform,OMTP)标准接口,美国蜂窝电信工业协会(cellular telecommunications industry association of the USA,CTIA)标准接口。
压力传感器180A用于感受压力信号,可以将压力信号转换成电信号。在一些实施例中,压力传感器180A可以设置于显示屏194。压力传感器180A的种类很多,如电阻式压力传感器,电感式压力传感器,电容式压力传感器等。电容式压力传感器可以是包括至少两个具有导电材料的平行板。当有力作用于压力传感器180A,电极之间的电容改变。电子设备100根据电容的变化确定压力的强度。当有触摸操作作用于显示屏194,电子设备100根据压力传感器180A检测所述触摸操作强度。电子设备100也可以根据压力传感器180A的检测信号计算触摸的位置。在一些实施例中,作用于相同触摸位置,但不同触摸操作强度的触摸操作,可以对应不同的操作指令。例如:当有触摸操作强度小于第一压力阈值的触摸操作作用于短消息应用图标时,执行查看短消息的指令。当有触摸操作强度大于或等于第一压力阈值的触摸操作作用于短消息应用图标时,执行新建短消息的指令。
陀螺仪传感器180B可以用于确定电子设备100的运动姿态。在一些实施例中,可以通过陀螺仪传感器180B确定电子设备100围绕三个轴(即,x,y和z轴)的角速度。陀螺仪传感器180B可以用于拍摄防抖。示例性的,当按下快门,陀螺仪传感器180B检测电子设备100抖动的角度,根据角度计算出镜头模组需要补偿的距离,让镜头通过反向运动抵消电子设备100的抖动,实现防抖。陀螺仪传感器180B还可以用于导航,体感游戏场景。
气压传感器180C用于测量气压。在一些实施例中,电子设备100通过气压传感器180C测得的气压值计算海拔高度,辅助定位和导航。
磁传感器180D包括霍尔传感器。电子设备100可以利用磁传感器180D检测翻盖皮套的开合。在一些实施例中,当电子设备100是翻盖机时,电子设备100可以根据磁传感器180D检测翻盖的开合。进而根据检测到的皮套的开合状态或翻盖的开合状态,设置翻盖自动解锁等特性。
加速度传感器180E可检测电子设备100在各个方向上(一般为三轴)加速度的大小。当电子设备100静止时可检测出重力的大小及方向。还可以用于识别电子设备姿态,应用于横竖屏切换,计步器等应用。
距离传感器180F,用于测量距离。电子设备100可以通过红外或激光测量距离。在一些实施例中,拍摄场景,电子设备100可以利用距离传感器180F测距以实现快速对焦。
接近光传感器180G可以包括例如发光二极管(LED)和光检测器,例如光电二极管。发光二极管可以是红外发光二极管。电子设备100通过发光二极管向外发射红外光。电子设备100使用光电二极管检测来自附近物体的红外反射光。当检测到充分的反射光时,可以确定电子设备100附近有物体。当检测到不充分的反射光时,电子设备100可以确定电子设备100附近没有物体。电子设备100可以利用接近光传感器180G检测用户手持电子设备100贴近耳朵通话,以便自动熄灭屏幕达到省电的目的。接近光传感器180G也可用于皮套模式,口袋模式自动解锁与锁屏。
环境光传感器180L用于感知环境光亮度。电子设备100可以根据感知的环境光亮度自适应调节显示屏194亮度。环境光传感器180L也可用于拍照时自动调节白平衡。环境 光传感器180L还可以与接近光传感器180G配合,检测电子设备100是否在口袋里,以防误触。
指纹传感器180H用于采集指纹。电子设备100可以利用采集的指纹特性实现指纹解锁,访问应用锁,指纹拍照,指纹接听来电等。
温度传感器180J用于检测温度。在一些实施例中,电子设备100利用温度传感器180J检测的温度,执行温度处理策略。例如,当温度传感器180J上报的温度超过阈值,电子设备100执行降低位于温度传感器180J附近的处理器的性能,以便降低功耗实施热保护。在另一些实施例中,当温度低于另一阈值时,电子设备100对电池142加热,以避免低温导致电子设备100异常关机。在其他一些实施例中,当温度低于又一阈值时,电子设备100对电池142的输出电压执行升压,以避免低温导致的异常关机。
触摸传感器180K,也称“触控面板”。触摸传感器180K可以设置于显示屏194,由触摸传感器180K与显示屏194组成触摸屏,也称“触控屏”。触摸传感器180K用于检测作用于其上或附近的触摸操作。触摸传感器可以将检测到的触摸操作传递给应用处理器,以确定触摸事件类型。可以通过显示屏194提供与触摸操作相关的视觉输出。在另一些实施例中,触摸传感器180K也可以设置于电子设备100的表面,与显示屏194所处的位置不同。
骨传导传感器180M可以获取振动信号。在一些实施例中,骨传导传感器180M可以获取人体声部振动骨块的振动信号。骨传导传感器180M也可以接触人体脉搏,接收血压跳动信号。在一些实施例中,骨传导传感器180M也可以设置于耳机中,结合成骨传导耳机。音频模块170可以基于所述骨传导传感器180M获取的声部振动骨块的振动信号,解析出语音信号,实现语音功能。应用处理器可以基于所述骨传导传感器180M获取的血压跳动信号解析心率信息,实现心率检测功能。
按键190包括开机键,音量键等。按键190可以是机械按键。也可以是触摸式按键。电子设备100可以接收按键输入,产生与电子设备100的用户设置以及功能控制有关的键信号输入。
马达191可以产生振动提示。马达191可以用于来电振动提示,也可以用于触摸振动反馈。例如,作用于不同应用(例如拍照,音频播放等)的触摸操作,可以对应不同的振动反馈效果。作用于显示屏194不同区域的触摸操作,马达191也可对应不同的振动反馈效果。不同的应用场景(例如:时间提醒,接收信息,闹钟,游戏等)也可以对应不同的振动反馈效果。触摸振动反馈效果还可以支持自定义。
指示器192可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。
SIM卡接口195用于连接SIM卡。SIM卡可以通过插入SIM卡接口195,或从SIM卡接口195拔出,实现和电子设备100的接触和分离。电子设备100可以支持1个或N个SIM卡接口,N为大于1的正整数。SIM卡接口195可以支持Nano SIM卡,Micro SIM卡,SIM卡等。同一个SIM卡接口195可以同时插入多张卡。所述多张卡的类型可以相同,也可以不同。SIM卡接口195也可以兼容不同类型的SIM卡。SIM卡接口195也可以兼容外部存储卡。电子设备100通过SIM卡和网络交互,实现通话以及数据通信等功能。在一些实施例中,电子设备100采用eSIM,即:嵌入式SIM卡。eSIM卡可以嵌在电 子设备100中,不能和电子设备100分离。
电子设备100的软件系统可以采用分层架构,事件驱动架构,微核架构,微服务架构,或云架构。本申请实施例以分层架构的Android系统为例,示例性说明电子设备100的软件结构。
图5是本申请实施例的电子设备100的软件结构框图。分层架构将软件分成若干个层,每一层都有清晰的角色和分工。层与层之间通过软件接口通信。在一些实施例中,将Android系统分为四层,从上至下分别为应用程序层,应用程序框架层,安卓运行时(Android runtime)和系统库,以及内核层。应用程序层可以包括一系列应用程序包。
如图5所示,应用程序包可以包括相机,图库,日历,通话,地图,导航,WLAN,蓝牙,音乐,视频,短信息等应用程序。
应用程序框架层为应用程序层的应用程序提供应用编程接口(application programming interface,API)和编程框架。应用程序框架层包括一些预先定义的函数。
如图5所示,应用程序框架层可以包括窗口管理器,内容提供器,视图系统,电话管理器,资源管理器,通知管理器、蓝牙代理模块等。
窗口管理器用于管理窗口程序。窗口管理器可以获取显示屏大小,判断是否有状态栏,锁定屏幕,截取屏幕等。
内容提供器用来存放和获取数据,并使这些数据可以被应用程序访问。所述数据可以包括视频,图像,音频,拨打和接听的电话,浏览历史和书签,电话簿等。
视图系统包括可视控件,例如显示文字的控件,显示图片的控件等。视图系统可用于构建应用程序。显示界面可以由一个或多个视图组成的。例如,包括短信通知图标的显示界面,可以包括显示文字的视图以及显示图片的视图。
电话管理器用于提供电子设备100的通信功能。例如通话状态的管理(包括接通,挂断等)。
资源管理器为应用程序提供各种资源,比如本地化字符串,图标,图片,布局文件,视频文件等等。
通知管理器使应用程序可以在状态栏中显示通知信息,可以用于传达告知类型的消息,可以短暂停留后自动消失,无需用户交互。比如通知管理器被用于告知下载完成,消息提醒等。通知管理器还可以是以图表或者滚动条文本形式出现在系统顶部状态栏的通知,例如后台运行的应用程序的通知,还可以是以对话窗口形式出现在屏幕上的通知。例如在状态栏提示文本信息,发出提示音,电子设备振动,指示灯闪烁等。
蓝牙代理模块用于在蓝牙芯片感受到第一设备的广播信号后,唤醒目标应用。
Android runtime包括核心库和虚拟机。Android runtime负责安卓系统的调度和管理。
核心库包含两部分:一部分是java语言需要调用的功能函数,另一部分是安卓的核心库。
应用程序层和应用程序框架层运行在虚拟机中。虚拟机将应用程序层和应用程序框架层的java文件执行为二进制文件。虚拟机用于执行对象生命周期的管理,堆栈管理,线程管理,安全和异常的管理,以及垃圾回收等功能。
系统库可以包括多个功能模块。例如:表面管理器(surface manager),媒体库(media libraries),三维图形处理库(例如:OpenGL ES),2D图形引擎(例如:SGL)等。
表面管理器用于对显示子系统进行管理,并且为多个应用程序提供了2D和3D图层的融合。
媒体库支持多种常用的音频,视频格式回放和录制,以及静态图像文件等。媒体库可以支持多种音视频编码格式,例如:MPEG4,H.264,MP3,AAC,AMR,JPG,PNG等。
三维图形处理库用于实现三维图形绘图,图像渲染,合成,和图层处理等。
2D图形引擎是2D绘图的绘图引擎。
内核层是硬件和软件之间的层。内核层至少包含显示驱动,摄像头驱动,音频驱动,传感器驱动。
为了便于理解,本申请以下实施例将以具有图4和图5所示结构的电子设备为例,结合附图和应用场景,对本申请实施例提供的目标业务执行方法进行具体阐述。
在如图1或图2的场景中,用户携带电子设备驾驶车辆行驶到匝道上部署的第一设备的信号覆盖范围内时,便可执行下述实施例的方法步骤。图6是本申请实施例提供的一例目标业务执行方法的流程示意图,该方法包括:
S101,接收到来自第一设备的第一广播信号,所述第一广播信号携带所述第一设备的标识。
其中,第一设备可以为蓝牙设备,如低功耗蓝牙(blueTooth low energy,BLE),该第一设备在上电状态下持续向外发射第一广播信号,该第一广播信号携带第一设备的标识,以用于标识该第一设备的位置(如区分收费站、区分入匝出匝)、功能(如唤醒功能)等信息。当电子设备的蓝牙功能(或其他通信功能)开启后,便可以按正常占空比(如5%)功率扫描第一广播信号,并在处于第一设备的信号覆盖范围内时,接收到来自第一设备的第一广播信号。
S102,根据所述第一设备的标识,启动所述电子设备中的目标应用。
其中,在高速公路收费场景中,该目标应用可以为公路收费应用(APP),用户需要提前先将该应用下载至电子设备并进行注册,随后公路收费服务器可以将高速公路收费场景中部署的全部设备的标识发送至电子设备进行存储。那么,电子设备接收到某个第一设备的第一广播信号后,可以将该第一设备的标识与预存的设备标识集合进行比对,若设备标识集合中存在与该第一设备的标识匹配的标识,则可以确定接收到的第一广播信号为“真实的”用于唤醒目标应用的信号,并启动电子设备中的目标应用,也即此时,目标应用从休眠状态转换为激活状态。需要说明的是,第一设备可以仅用于将电子设备中的目标应用启动,其并不与电子设备建立通信连接。
S103,在接收到来自第二设备的第二广播信号时,根据所述第二广播信号携带的所述第二设备的标识,建立所述目标应用与所述第二设备之间的通信连接,以执行所述目标应用对应的目标业务;其中,所述第一设备是部署在所述电子设备的移动路径上的至少一个第一设备中的一个,所述第二设备是部署在所述电子设备的移动路径上的至少一个第二设备中的一个,所述第一设备相对于所述第二设备部署在靠近所述电子设备的移动路径的起点的一端。
具体地,部署在第一设备位置之后的第二设备(如蓝牙设备)在上电状态下也持续向外发射第二广播信号,电子设备在启动目标应用之后,若接收到来自第二设备的第二广播信号,则电子设备同样可以将该第二广播信号携带的第二设备的标识与设备标识集合进行 比对,若设备标识集合中存在与该第二设备的标识匹配的标识,则可以确定接收到的第二广播信号为“真实的”用于交易连接的信号,并建立目标应用与第二设备之间的通信连接,进而执行该目标应用对应的目标业务,如公路收费应用对应的收费支付业务,完成高速公路收费场景中的无感交易过程。
需要说明的是,上述电子设备的移动路径即为车辆的行驶路径,也即图1中的匝道路径,第一设备为该路径上至少一个第一设备中的一个,第二设备为该路径上的至少一个第二设备中的一个,第一设备相对于第二设备部署在靠近该路径的起点的一端。例如图1所示的场景中,本实施例中电子设备所接收到的第一广播信号可以为第一设备11所发射的,所接收到的第二广播信号可以为第二设备22所发射的,也即是说,第一设备11将电子设备中的目标应用唤醒了之后,第二设备22与目标应用建立了通信连接以执行目标业务。
可以理解,在第二设备与目标应用建立通信连接后,目标应用可以将执行目标业务所需的任务信息发送至第二设备,第二设备进而将任务信息发送至服务器,服务器对任务信息进行校验后可将校验结果传回电子设备,进而执行目标业务。或者,目标应用可以直接将执行目标业务所需的任务信息发送至服务器,服务器对任务信息进行校验后将校验结果传回电子设备,进而执行目标业务。
上述目标业务执行方法,通过将第一设备部署于相对第二设备靠近电子设备的移动路径的起点的一端,通过第一设备先将电子设备中的目标应用启动,以确保在与第二设备建立连接之前目标应用已启动,进而提高电子设备与第二设备建立连接的成功率,以提高目标业务完成的成功率。
在一种可能的实现方式中,为进一步确保在与第二设备建立连接之前目标应用已启动,可以根据第一设备的信号覆盖范围、第二设备的信号覆盖范围、目标应用的启动时长及电子设备的移动速度来确定第一设备和第二设备之间的部署距离。示例性的,如图7所示,假设第一设备和第二设备的信号覆盖范围都为直径40米(m),最坏情况下,电子设备移动至第一设备信号覆盖范围的边缘A点时才接收到第一设备的第一广播信号,然后开始启动目标应用,通常情况下目标应用的启动时长为3-5秒(s),以启动时长为4s、电子终端的移动速度为15米/秒(m/s)为例,则电子终端移动60m才会将目标应用启动完成;那么,在目标应用启动完成后再进入第二设备的信号覆盖范围内,则可较大程度提高电子设备与第二设备建立连接的成功率,此时,第一设备和第二设备的部署距离应大于(20+60+20)m;当电子终端进入第二设备的信号覆盖范围内后,与第二设备建立连接及执行目标业务的时间通常只需1s,则电子终端只移动了大概15m,仍处于第二设备的信号覆盖范围内,进而提高整个过程的可靠性。结合图1所示的场景图,对于每个第一设备,都应有至少一个与其距离大于100m的第二设备,以使得若最后一个第一设备成功启动电子设备中的目标应用时,确保具有对应的第二设备可与其成功建立通信连接。
在一种可能的实现方式中,上述电子设备可以包含蓝牙芯片、目标应用、蓝牙代理模块、开放移动联盟应用编程接口(open mobile alliance application programming interface,OMAAPI)、安全单元(secure element,SE)和可信执行环境(Trusted Execution Environment,TEE),SE中包含小应用程序applet,TEE中包含小应用程序(tEE application,TA)。下面以目标应用为公路收费应用、第一设备为蓝牙唤醒设备、第二设备为蓝牙交易设备为例介绍上述目标业务执行方法过程,如图8所示,该方法可以包括:
S201,蓝牙唤醒设备发射第一广播信号,第一广播信号携带蓝牙唤醒设备的标识;
S202,蓝牙芯片接收到蓝牙唤醒设备的第一广播信号;
S203,蓝牙芯片将蓝牙唤醒设备的标识与电子设备中预存的设备标识集合进行比对;
S204,若设备标识集合中存在与蓝牙唤醒设备的标识匹配的标识,蓝牙芯片向蓝牙代理模块发送第一指示消息,以指示蓝牙代理模块启动公路收费应用;
S205,蓝牙代理模块启动公路收费应用;
S206,公路收费应用向蓝牙芯片发送第二指示消息,以指示蓝牙芯片检测蓝牙交易设备的第二广播信号;
S207,蓝牙芯片按照最高占空比(如100%)功率检测蓝牙交易设备的第二广播信号,第二广播信号携带蓝牙交易设备的标识;
S208,蓝牙交易设备发射第二广播信号,第二广播信号携带蓝牙交易设备的标识;
S209,在接收到来自蓝牙交易设备的第二广播信号时,蓝牙芯片将蓝牙交易设备的标识与设备标识集合进行比对;
S210,若设备标识集合中存在与蓝牙交易设备的标识匹配的标识,建立公路收费应用和蓝牙交易设备的通信连接,以执行收费支付业务。
其中,上述电子设备中的OMAAPI是一种通过富执行环境(rich execution environment,REE)调用SE中applet的接口,蓝牙芯片和SE之间也可以通过OMAAPI连接,蓝牙芯片也可与TEE之间连接,SE的applet中和TEE的TA中可存储用于收费支付的密文,为支付过程提供安全的交易环境。在上述目标业务执行方法中,能够确保公路收费应用与蓝牙交易设备建立通信连接之前,公路收费应用已启动,进而提高公路收费应用与蓝牙交易设备建立通信连接的成功率以及支付交易的成功率。
可以理解,用户在使用上述公路收费应用之前,同样需要先在电子设备上安装该应用并进行注册,公路收费应用的注册界面可以参见图9所示,需要用户填写身份证号码、车牌号码、手机号码,选择支付账户,录入人脸图像等信息。其中,多个电子设备可以与同一辆车进行绑定,并可以设定支付账户的优先等级;另外,一个电子设备也可以与多辆车进行绑定,当不需要该支付业务时也可以随时解绑。然后,公路收费应用将注册信息发送至服务器,服务器通过对注册信息进行风控检查,如审核车辆信息、手机号码及支付账户的安全合法性、以及人脸图像与身份证信息的匹配性,审核成功后服务器可与支付账户对应的支付后台约定扣款方式,如免密扣款等。随后,服务器还可以向电子设备下载交易TA或applet,为支付过程提供安全的交易环境;当然,服务器也可以在接收到公路收费应用发送的注册信息后便向电子设备下载交易TA或applet,即对下载交易TA或applet的时刻不做限定。接下来,服务器还将高速公路匝道上部署的蓝牙设备的标识下载至电子设备,电子设备可以存储各蓝牙设备的标识,并向蓝牙代理模块授予启动(或唤醒)公路收费应用的权限。该公路收费应用的下载注册都可由用户自助办理,无需再借助其他硬件设备,提高了用户的使用体验。
在图8所示的实施例中,当蓝牙代理模块建立公路收费应用和蓝牙交易设备的通信连接后,公路收费应用可以将其绑定的车辆信息发送至蓝牙交易设备,蓝牙交易设备将该车辆信息发送至服务器,同时服务器还会接收到设置在收费站处车辆识别装置发送的车辆信息,服务器对比两个车辆信息中的车牌号码是否一致,若一致则计算该车辆应付的支付费 用,并将该支付费用通过蓝牙交易设备发送至公路收费应用进行收费支付,该过程可以参见图10中的(a)图所示。或者,公路收费应用直接将其绑定的车辆信息发送至服务器,服务器对比该车辆信息与车辆识别装置发送的车辆信息,若车牌号码一致则计算车辆应付的支付费用,并将该支付费用发送至公路收费应用进行收费支付,该过程可以参见图10中的(b)图所示。采用该方法完成收费支付过程,使得用户无需进行任何操作,节省了用户的时间成本,并减少了因用户驾车时操作电子设备带来的安全隐患。
待收费支付业务完成之后,服务器可以通知蓝牙交易设备,蓝牙交易设备进而通知公路收费应用,双方断开通信连接,蓝牙芯片恢复正常扫描占空比(如5%)。此后,即使车辆行驶前方仍部署有蓝牙交易设备,公路收费应用也不再与其建立连接。另外,公路收费应用还可以通过图像、声音、文字等提示方式向用户显示交易结果,如是否支付成功、出匝入匝信息、扣款金额等。
通常情况下,电子设备默认是蓝牙关闭状态的,当用户驾驶车辆行驶至高速公路之前,可以根据需要通过图11的设置界面自行打开蓝牙开关,当用户点击图11中的(a)图上的选择图标41后,电子设备可以跳转至图11中的(b)图所展示的蓝牙开关界面;当用户点击图11中的(b)图上的蓝牙开关42后可以显示出图11中的(c)图界面,在该界面上通过点击收费支付开关43即可开启收费支付业务。
在图1所示的场景在中,若第一设备11将电子设备中的目标应用唤醒,则经过第一设备12、第一设备13和第一设备14的信号覆盖范围内时,电子设备不再响应其广播信号;若第一设备11未将电子设备中的目标应用唤醒,则由第一设备12继续来唤醒目标应用,以此类推。当电子设备中的目标应用被唤醒启动后,则进入第二设备21的信号覆盖范围内时,可与第二设备21建立通信连接;若第二设备21未成功与电子设备建立连接,则进入第二设备22的信号覆盖范围内时,可与第二设备22建立通信连接,以此类推。当电子设备移动至匝道末尾,即匝道档杆处时,电子设备都未成功完成目标业务,则可以进一步采用生物识别信息进行认证。如匝道档杆前端处可以设置人脸图像采集装置,用户将车窗摇下即可采集人脸图像,进而将采集的人脸图像发送至服务器进行人脸验证,并在验证通过后执行目标业务;也可以通过电子设备的目标应用,接收用户通过该目标应用输入的生物识别信息,并将生物识别信息发送至服务器进行验证,以执行目标业务,该通过目标应用输入的生物识别信息除了可以是人脸图像之外,也可以为指纹、虹膜等,当然这些信息需用户在注册时进行输入注册。当采用电子设备采集生物识别信息时,可以由用户自行打开采集界面,也可以是电子设备得到目标业务未执行成功的信息后自动打开,以减少用户的人为操作。
继续以图1所示的场景为例,由上述描述可知,多个电子设备可以与同一辆车绑定,一个电子设备也可以绑定多辆车。假设车辆A上有两个电子设备,电子设备B绑定了车辆A,电子设备C绑定了其他车,那么在出匝道时,电子设备B中的公路收费应用和电子设备C中的公路收费应用都有可能被启动,并与第二设备建立了通信连接,进而电子设备B和电子设备C都会将绑定的车辆信息发送至服务器;但是,匝道处的车牌识别装置只采集到了车辆A的车辆信息,那么服务器仅会对车辆A对应的电子设备B发起扣款,因服务器并没有收到电子设备C对应的车辆信息,则不会对电子设备C发起扣款。
再假设车辆A上的电子设备B和电子设备C都与本车进行了绑定,在出匝道时,电 子设备B和电子设备C都会与第二设备建立通信连接,且服务器也对电子设备B和电子设备C发送的车辆信息验证成功;但是因用户注册时设定了支付账户的优先等级,因此从对扣款优先级较高的支付账户进行扣款,不会双重扣款。
再假设若用户未携带注册过的电子设备进入匝道,则无法采用上述目标业务执行方法进行无感交易;但是可以采用匝道处的人脸图像采集装置进行人脸图像采集,并将人脸图像发送至服务器,服务器验证后确定是注册过的人脸图像,则可以向其约定的支付后台发起扣款,完成支付。或者,若用户携带的电子设备无电或损坏,无法启动公路收费应用,则也可以采用匝道处的人脸图像采集装置进行人脸图像采集,并将人脸图像发送至服务器,服务器验证后确定是注册过的人脸图像,则可以向其约定的支付后台发起扣款,完成支付。
上述的目标业务执行方法除了适用于高速公路收费业务的场景外,还可以适用于如快速移动目标的打卡场景以及其他场景(如交通危险路段提醒、路况播报、旅游景点介绍、商家周边广告推送、被监控人员行程数据自动上报等),下面分别介绍这些场景下的执行流程:
场景1快速移动目标的打卡场景
场景1的示意图可以参见图12所示,在临近用户公司的道路边部署第三设备51、第三设备52和第四设备61、第四设备62,第三设备可以为蓝牙唤醒设备,第四设备可以为蓝牙打卡设备。
当用户携带电子设备开车到达公司临近的道路上,电子设备中的蓝牙芯片接收到蓝牙唤醒设备的第三广播信号,该第三广播信号携带蓝牙唤醒设备的标识;蓝牙芯片将蓝牙唤醒设备的标识与预存的打卡地点的设备标识集合进行比对;若设备标识集合中存在与蓝牙唤醒设备的标识匹配的标识,蓝牙芯片指示蓝牙代理模块启动打卡应用;打卡应用指示蓝牙芯片按照最高占空比功率检测蓝牙打卡设备的第四广播信号,第四广播信号携带蓝牙打卡设备的标识;在接受到来自蓝牙打卡设备的第四广播信号时,蓝牙芯片将蓝牙打卡设备的标识与设备标识集合进行比对;若设备标识集合中存在与蓝牙打卡设备的标识匹配的标识,蓝牙代理模块建立打卡应用和蓝牙打卡设备的通信连接,以执行用户打卡任务。上述打卡过程,用户无需再手动打开打卡应用进行打卡,减少了开车时操作电子设备带来的安全隐患,实现自动安全的打卡过程,且不易伪造打卡地点。
其中,用户在使用电子设备执行打卡业务之前,同样需要在电子设备的打卡应用上进行注册,注册界面可以参见图13所示。需要说明的是,用户注册时需要填写打卡地址,以使电子设备将注册信息发送至服务器后,服务器根据该打卡地点将对应设备的设备标识下载至电子设备进行存储。另外,当打卡应用与蓝牙交易设备建立了通信连接后,电子设备可以将对应的定位信息(如通过GPRS定位得到的定位信息)发送至蓝牙打卡设备,用于使蓝牙打卡设备将定位信息发送至服务器进行验证,如将定位信息和用户注册时所填写的打卡地址进行匹配,匹配成功则返回打卡成功结果;或者,电子设备直接将对应的定位信息发送至服务器进行验证,以执行打卡过程。
场景2快速移动目标的其他场景
在一些交通危险路段,可以在该路段双向部署蓝牙唤醒设备和蓝牙广播设备,当用户携带电子设备经过该路段时,可以采用上述目标业务执行方法,建立电子设备与蓝牙广播 设备之间的通信连接。然后,蓝牙广播设备可以将服务器下发的路段提醒消息或者路况播报消息发送至电子设备,以提醒用户安全驾驶。另外,因蓝牙广播设备和电子设备之间为蓝牙通信,那么即使电子设备没有联网情况下,也同样能接收到安全提醒。
关于旅游景点介绍、商家周边广告推送、被监控人员行程数据上报等场景,其实现方法和上述实施例的实现方法类似,在此不再赘述。
上文详细介绍了本申请实施例提供的目标业务执行方法的示例。可以理解的是,电子设备为了实现上述功能,其包含了执行各个功能相应的硬件和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。本领域技术人员可以结合实施例对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
本申请实施例可以根据上述方法示例对电子设备进行功能模块的划分,例如,可以对应各个功能划分为各个功能模块,例如检测单元、处理单元、显示单元等,也可以将两个或两个以上的功能集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。需要说明的是,本申请实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。
需要说明的是,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。
本实施例提供的电子设备,用于执行上述目标业务执行方法,因此可以达到与上述实现方法相同的效果。
在采用集成的单元的情况下,电子设备还可以包括处理模块、存储模块和通信模块。其中,处理模块可以用于对电子设备的动作进行控制管理。存储模块可以用于支持电子设备执行存储程序代码和数据等。通信模块,可以用于支持电子设备与其他设备的通信。
其中,处理模块可以是处理器或控制器。其可以实现或执行结合本申请公开内容所描述的各种示例性的逻辑方框,模块和电路。处理器也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,数字信号处理(digital signal processing,DSP)和微处理器的组合等等。存储模块可以是存储器。通信模块具体可以为射频电路、蓝牙芯片、Wi-Fi芯片等与其他电子设备交互的设备。
在一个实施例中,当处理模块为处理器,存储模块为存储器时,本实施例所涉及的电子设备可以为具有图4所示结构的设备。
本申请实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质中存储了计算机程序,当所述计算机程序被处理器执行时,使得处理器执行上述任一实施例所述的目标业务执行方法。
本申请实施例还提供了一种计算机程序产品,当该计算机程序产品在计算机上运行时,使得计算机执行上述相关步骤,以实现上述实施例中的目标业务执行方法。
另外,本申请的实施例还提供一种装置,这个装置具体可以是芯片,组件或模块,该装置可包括相连的处理器和存储器;其中,存储器用于存储计算机执行指令,当装置运行时,处理器可执行存储器存储的计算机执行指令,以使芯片执行上述各方法实施例中的目 标业务执行方法。
其中,本实施例提供的电子设备、计算机可读存储介质、计算机程序产品或芯片均用于执行上文所提供的对应的方法,因此,其所能达到的有益效果可参考上文所提供的对应的方法中的有益效果,此处不再赘述。
通过以上实施方式的描述,所属领域的技术人员可以了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。
在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个装置,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是一个物理单元或多个物理单元,即可以位于一个地方,或者也可以分布到多个不同地方。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该软件产品存储在一个存储介质中,包括若干指令用以使得一个设备(可以是单片机,芯片等)或处理器(processor)执行本申请各个实施例方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(read only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。
以上内容,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以权利要求的保护范围为准。

Claims (11)

  1. 一种目标业务执行方法,其特征在于,所述方法由电子设备执行,包括:
    接收到来自第一设备的第一广播信号,所述第一广播信号携带所述第一设备的标识;
    根据所述第一设备的标识,启动所述电子设备中的目标应用;
    在接收到来自第二设备的第二广播信号时,根据所述第二广播信号携带的所述第二设备的标识,建立所述目标应用与所述第二设备之间的通信连接,以执行所述目标应用对应的目标业务;其中,所述第一设备是部署在所述电子设备的移动路径上的至少一个第一设备中的一个,所述第二设备是部署在所述电子设备的移动路径上的至少一个第二设备中的一个,所述第一设备相对于所述第二设备部署在靠近所述电子设备的移动路径的起点的一端。
  2. 根据权利要求1所述的方法,其特征在于,所述第一设备和所述第二设备之间的部署距离根据所述第一设备的信号覆盖范围、所述第二设备的信号覆盖范围、所述目标应用的启动时长及所述电子设备的移动速度所确定。
  3. 根据权利要求1或2所述的方法,其特征在于,所述根据所述第一设备的标识,启动所述电子设备中的目标应用,包括:
    将所述第一设备的标识与所述电子设备中预存的设备标识集合进行比对;
    若所述设备标识集合中存在与所述第一设备的标识匹配的标识,启动所述电子设备中的目标应用。
  4. 根据权利要求3所述的方法,其特征在于,所述电子设备包括蓝牙代理模块,所述启动所述电子设备中的目标应用,包括:
    通过所述蓝牙代理模块启动所述电子设备中的目标应用。
  5. 根据权利要求1所述的方法,其特征在于,在所述启动所述电子设备中的目标应用之后,所述方法还包括:
    根据所述目标应用的指示指令,按照最高占空比功率检测第二设备的第二广播信号。
  6. 根据权利要求1所述的方法,其特征在于,所述目标应用包括公路收费应用,所述目标业务包括收费支付业务;所述执行所述目标应用对应的目标业务,包括:
    将所述电子设备对应的车辆信息发送至所述第二设备,用于使所述第二设备将所述车辆信息发送至服务器计算支付费用,以执行所述收费支付业务;
    或者,将所述电子设备对应的车辆信息发送至所述服务器,用于所述服务器计算支付费用,以执行所述收费支付业务。
  7. 根据权利要求1所述的方法,其特征在于,所述目标应用包括打卡应用,所述目标业务包括打卡业务;所述执行所述目标应用对应的目标业务,包括:
    将所述电子设备对应的定位信息发送至所述第二设备,用于使所述第二设备将所述定位信息发送至服务器进行验证,以执行所述打卡业务;
    或者,将所述电子设备对应的定位信息发送至所述至服务器进行验证,以执行所述打卡业务。
  8. 根据权利要求6或7所述的方法,其特征在于,若所述电子设备移动至所述移动路径的终点时,所述目标业务未执行成功,所述方法还包括:
    接收用户通过所述目标应用输入的生物识别信息,将所述生物识别信息发送至所述服务器以执行所述目标业务。
  9. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    接收用户通过所述目标应用输入的注册信息,所述注册信息包括用户标识和目标业务标识;
    将所述注册信息发送至服务器进行用户注册。
  10. 一种电子设备,其特征在于,其特征在于,包括:处理器、存储器和接口;
    所述处理器、存储器和接口相互配合,使得所述电子设备执行如权利要求1至9中任一项所述的方法。
  11. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储了计算机程序,当所述计算机程序被处理器执行时,使得所述处理器执行权利要求1至9中任一项所述的方法。
PCT/CN2021/118562 2020-09-30 2021-09-15 目标业务执行方法和电子设备 WO2022068591A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
US18/246,032 US20230360445A1 (en) 2020-09-30 2021-09-15 Target service execution method and electronic device
EP21874252.6A EP4210361A4 (en) 2020-09-30 2021-09-15 TARGET SERVICE EXECUTION METHOD AND ELECTRONIC DEVICE

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011063589.1A CN114339674B (zh) 2020-09-30 2020-09-30 目标业务执行方法和电子设备
CN202011063589.1 2020-09-30

Publications (1)

Publication Number Publication Date
WO2022068591A1 true WO2022068591A1 (zh) 2022-04-07

Family

ID=80949660

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/118562 WO2022068591A1 (zh) 2020-09-30 2021-09-15 目标业务执行方法和电子设备

Country Status (4)

Country Link
US (1) US20230360445A1 (zh)
EP (1) EP4210361A4 (zh)
CN (1) CN114339674B (zh)
WO (1) WO2022068591A1 (zh)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112307483A (zh) * 2019-07-30 2021-02-02 华为技术有限公司 可信用户界面的显示方法及电子设备
CN115604653A (zh) * 2022-08-31 2023-01-13 湖北星纪时代科技有限公司(Cn) 智能卡应用的选取方法、装置、电子设备及存储介质
CN116709582B (zh) * 2022-10-31 2024-04-12 荣耀终端有限公司 辅助通话的方法和电子设备

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105320521A (zh) * 2015-08-21 2016-02-10 上海智洋网络科技有限公司 一种智能按键设备在o2o服务场景中的应用方法
US20160063459A1 (en) * 2014-08-26 2016-03-03 Samsung Electronics Co., Ltd. System and Method for Mobile Payments in a Vehicle
CN106296842A (zh) * 2016-08-16 2017-01-04 广西咪付网络技术有限公司 一种基于蓝牙通信的高速公路收费系统
CN107622536A (zh) * 2017-08-16 2018-01-23 齐鲁交通信息有限公司 基于移动端应用和车牌识别的高速公路不停车收费系统及方法
CN108447141A (zh) * 2018-04-16 2018-08-24 南京子频电子科技有限公司 基于多点蓝牙精准定位的通行管理系统及管理方法
US10121289B1 (en) * 2014-04-11 2018-11-06 Amtech Systems, LLC Vehicle-based electronic toll system with interface to vehicle display

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9179198B2 (en) * 2010-10-01 2015-11-03 Sony Corporation Receiving apparatus, receiving method, and program
US10652735B2 (en) * 2013-10-04 2020-05-12 Sol Mingso Li Systems and methods for programming, controlling and monitoring wireless networks
CN110062104A (zh) * 2019-03-13 2019-07-26 维沃移动通信有限公司 应用程序启动方法、装置及移动终端
CN110072221B (zh) * 2019-04-16 2021-03-23 华为技术有限公司 蓝牙扫描方法和电子设备

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10121289B1 (en) * 2014-04-11 2018-11-06 Amtech Systems, LLC Vehicle-based electronic toll system with interface to vehicle display
US20160063459A1 (en) * 2014-08-26 2016-03-03 Samsung Electronics Co., Ltd. System and Method for Mobile Payments in a Vehicle
CN105320521A (zh) * 2015-08-21 2016-02-10 上海智洋网络科技有限公司 一种智能按键设备在o2o服务场景中的应用方法
CN106296842A (zh) * 2016-08-16 2017-01-04 广西咪付网络技术有限公司 一种基于蓝牙通信的高速公路收费系统
CN107622536A (zh) * 2017-08-16 2018-01-23 齐鲁交通信息有限公司 基于移动端应用和车牌识别的高速公路不停车收费系统及方法
CN108447141A (zh) * 2018-04-16 2018-08-24 南京子频电子科技有限公司 基于多点蓝牙精准定位的通行管理系统及管理方法

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP4210361A4

Also Published As

Publication number Publication date
EP4210361A4 (en) 2024-02-28
CN114339674A (zh) 2022-04-12
CN114339674B (zh) 2024-06-04
EP4210361A1 (en) 2023-07-12
US20230360445A1 (en) 2023-11-09

Similar Documents

Publication Publication Date Title
WO2020182065A1 (zh) 快捷功能启动的方法及电子设备
US11910197B2 (en) Service processing method and device
WO2022068591A1 (zh) 目标业务执行方法和电子设备
CN113015161B (zh) 认证方法及其介质和电子设备
US11868463B2 (en) Method for managing application permission and electronic device
CN110751503B (zh) 广告处理方法和电子设备
CN114513847B (zh) 定位方法、装置、系统、电子设备及存储介质
WO2020073288A1 (zh) 一种触发电子设备执行功能的方法及电子设备
WO2021218429A1 (zh) 应用窗口的管理方法、终端设备及计算机可读存储介质
CN111222836B (zh) 一种到站提醒方法及相关装置
CN114553814B (zh) 处理推送消息的方法和装置
WO2022022422A1 (zh) 一种权限管理方法及终端设备
CN114090102B (zh) 启动应用程序的方法、装置、电子设备和介质
CN114915721A (zh) 建立连接的方法与电子设备
WO2022001249A1 (zh) 借车方法、还车方法、车载终端及车辆借还系统
WO2023071940A1 (zh) 跨设备的导航任务的同步方法、装置、设备及存储介质
CN115134453B (zh) 一种乘车信息的显示方法及电子设备
CN114828098B (zh) 数据传输方法和电子设备
WO2021147483A1 (zh) 数据分享的方法和装置
WO2023109636A1 (zh) 应用卡片显示方法、装置、终端设备及可读存储介质
CN115495716B (zh) 一种本地鉴权方法和电子设备
CN115016666B (zh) 触控处理方法、终端设备以及存储介质
WO2023098467A1 (zh) 语音解析方法、电子设备、可读存储介质及芯片系统
CN117687814A (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: 21874252

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2021874252

Country of ref document: EP

Effective date: 20230404

NENP Non-entry into the national phase

Ref country code: DE