WO2022193907A1 - Terminal control method and apparatus, control module, mobile terminal and storage medium - Google Patents

Terminal control method and apparatus, control module, mobile terminal and storage medium Download PDF

Info

Publication number
WO2022193907A1
WO2022193907A1 PCT/CN2022/077057 CN2022077057W WO2022193907A1 WO 2022193907 A1 WO2022193907 A1 WO 2022193907A1 CN 2022077057 W CN2022077057 W CN 2022077057W WO 2022193907 A1 WO2022193907 A1 WO 2022193907A1
Authority
WO
WIPO (PCT)
Prior art keywords
device identifier
scanned
mobile terminal
identifier
identifiers
Prior art date
Application number
PCT/CN2022/077057
Other languages
French (fr)
Chinese (zh)
Inventor
钟浩华
Original Assignee
Oppo广东移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Publication of WO2022193907A1 publication Critical patent/WO2022193907A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/005Discovery of network devices, e.g. terminals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2816Controlling appliance services of a home automation network by calling their functionalities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/422Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
    • H04N21/42204User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
    • H04N21/42206User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor characterized by hardware details
    • H04N21/4222Remote control device emulator integrated into a non-television apparatus, e.g. a PDA, media center or smart toy
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/4302Content synchronisation processes, e.g. decoder synchronisation
    • H04N21/4307Synchronising the rendering of multiple content streams or additional data on devices, e.g. synchronisation of audio on a mobile phone with the video output on the TV screen
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • the present application relates to the technical field of mobile terminals, and more particularly, to a terminal control method, device, control module, mobile terminal and storage medium.
  • the mobile terminal itself has more functions.
  • the mobile terminal may have the function of controlling the operation of the external device identifier, or the mobile terminal may play video and audio.
  • the present application proposes a terminal control method, device, control module, mobile terminal and storage medium to improve the above problems.
  • the present application provides a terminal control method, which is applied to a mobile terminal.
  • the method includes: if a specified control operation is detected, scanning a device identifier based on a specified wireless communication method;
  • the present application provides a terminal control method, which is applied to a control module.
  • the method includes: scanning a device identifier; if a device identifier is scanned, obtaining an operation corresponding to the scanned device identifier identification; sending the operation identification to the mobile terminal, so that the mobile terminal can perform the operation corresponding to the operation identification.
  • the present application provides a terminal control apparatus, running on a mobile terminal, the apparatus includes: a device identifier scanning unit, configured to scan the device identifier based on a designated wireless communication method if a designated control operation is detected ; The terminal control unit is used to perform an operation corresponding to the scanned device identifier if the device identifier is scanned.
  • the present application provides a terminal control device, which runs in a control module, the device includes: a device identifier scanning unit, used for scanning the device identifier; an information acquisition unit, used for scanning if the device identifier is scanned. The operation identifier corresponding to the scanned device identifier is obtained; the terminal control unit is configured to send the operation identifier to the mobile terminal, so that the mobile terminal can perform the operation corresponding to the operation identifier.
  • the present application provides a mobile terminal, comprising one or more processors and a memory; one or more programs are stored in the memory and configured to be executed by the one or more processors, The one or more programs are configured to perform the methods described above.
  • the present application provides a computer-readable storage medium storing program code executable by a processor, the computer-readable storage medium including the stored program code, wherein the above-mentioned program code is executed when the program code is executed.
  • FIG. 1 shows a schematic diagram of a scenario of a terminal control method proposed by the present application
  • FIG. 2 shows a flowchart of a terminal control method proposed by the present application
  • FIG. 3 shows a schematic diagram of a trigger interface in the present application
  • FIG. 4 shows a flowchart of another terminal control method proposed by the present application.
  • FIG. 5 shows a schematic diagram of a sorting result interface in the present application
  • FIG. 6 shows a schematic diagram of the setting position of a device identifier in the present application
  • FIG. 7 shows a schematic diagram of a scanning angle in the present application
  • FIG. 8 shows a schematic diagram of another scanning angle in the present application.
  • FIG. 9 shows a schematic diagram of still another scanning angle in the present application.
  • Figure 10 shows a schematic diagram of another sorting result interface in the present application.
  • Figure 11 shows a schematic diagram of yet another sorting result interface in the present application.
  • FIG. 12 shows a flowchart of still another terminal control method proposed by the present application.
  • Figure 13 shows a schematic diagram of a binding operation interface in the present application
  • Figure 14 shows a schematic diagram of an operation selection interface in the present application
  • FIG. 15 shows a schematic diagram of a selection interface of a screen projection target in the present application
  • Figure 16 shows a schematic diagram of a configuration interface in the present application
  • FIG. 17 shows a schematic diagram of an interface of an operation parameter corresponding to a binding operation in the present application
  • FIG. 18 shows a flowchart of another terminal control method proposed by the present application.
  • FIG. 19 shows a flowchart of another terminal control method proposed by the present application.
  • FIG. 20 shows a structural block diagram of a terminal control apparatus proposed by the present application.
  • FIG. 21 shows a structural block diagram of another terminal control apparatus proposed by the present application.
  • FIG. 22 shows a structural block diagram of a mobile terminal of the present application for executing the terminal control method according to an embodiment of the present application
  • FIG. 23 is a storage unit for storing or carrying a program code for implementing the terminal control method according to the embodiment of the present application according to the embodiment of the present application.
  • the mobile terminal has more functions besides the basic function of making a call.
  • the mobile terminal can play audio and video.
  • smart devices which can be understood as devices that can connect to the network through various protocols such as Wi-Fi/Bluetooth, so as to realize real-time online data and status
  • mobile terminals are also equipped with smart devices. function to control.
  • the mobile terminal can control the TV set to play the video being played in the mobile terminal synchronously, or the mobile terminal can directly project the image to the TV set for playing.
  • the inventors have researched the method for activating the function of the related mobile terminal and found that the related function activating method still has the problem of inconvenience.
  • the user needs to operate the mobile terminal to start the corresponding application program, then operate the application program to enter the corresponding interface, and finally start the function in the corresponding interface. Only after the operation path can the actual trigger function be activated.
  • the inventor proposes a terminal control method, device, control module, mobile terminal and storage medium in the present application.
  • a device identification will be performed based on a specified wireless communication method.
  • After scanning the device identifier perform an operation corresponding to the scanned device identifier.
  • the operation can be associated with the device identifier, and after the mobile terminal scans a device identifier in response to a specified control operation, it can automatically execute the operation corresponding to the scanned device identifier.
  • the operation improves the convenience for the mobile terminal to start the function.
  • the specified control operation includes: a tapping operation acting on a specified position of the mobile terminal.
  • the method provided in this embodiment may further include the following process: if device identifiers are scanned and the number of scanned device identifiers is multiple, the operation corresponding to the multiple scanned device identifiers is performed. Sorting and displaying the sorting results; acquiring target operations determined from operations corresponding to multiple scanned device identifiers; and executing the target operations.
  • the method provided in this embodiment may further include the following process: acquiring respective scanning angles corresponding to a plurality of scanned device identifiers, where the scanning angles represent the corresponding device identifiers relative to the mobile terminal. Degree of deviation; based on the scanning angle, sort operations corresponding to multiple scanned device identifiers and display the sorting results.
  • the method provided in this embodiment may further include the following process: if a device identifier is scanned and the number of the scanned device identifiers is multiple, obtain the corresponding corresponding to the multiple scanned device identifiers. operation identifiers to obtain multiple operation identifiers; and perform operations corresponding to the multiple operation identifiers.
  • the method provided in this embodiment may further include the following process: detecting whether the scanned device identifier is bound with a corresponding operation; if the scanned device identifier is bound with a corresponding operation, Perform an operation corresponding to the scanned device identifier; if the scanned device identifier is not bound with a corresponding operation, a binding operation interface is displayed.
  • the designated wireless communication manner includes: an ultra-wideband wireless communication manner.
  • the method provided in this embodiment may further include the following process: sending the operation identifier to the mobile terminal by means of wireless communication.
  • the method provided in this embodiment may further include the following process: the smaller the scanning angle, the higher the sorting position of the corresponding operation of the device identifier, wherein the scanning angle is the The angle between the direction of the connection line between the device identifier and the mobile terminal and a specified reference direction, where the specified reference direction is the orientation of the mobile terminal.
  • the method provided in this embodiment may further include the following process: if it is detected that the variation range of the specified reference direction is greater than a preset range threshold, then restart the scanning of the device identifier; The scanning angle of the scanned device identifiers changes, and the sorting result is updated.
  • the scanning angle includes a horizontal direction angle and a vertical direction angle
  • the mobile terminal is configured with a first range corresponding to the horizontal direction angle and a second range of the vertical direction angle
  • the method may further include the following process: if it is detected that the horizontal direction angle corresponding to the device identifier is within the first range, and the corresponding vertical direction angle is within the second range, it is determined that the device identifier is valid equipment identifiers; if the number of scanned valid equipment identifiers is multiple, based on the respective horizontal angles corresponding to the multiple valid equipment identifiers, the The operations are sorted, wherein the smaller the difference between the horizontal direction angle and the middle value of the first range, the higher the sorting of the operations corresponding to the valid device identifiers.
  • the method provided in this embodiment may further include the following process: in the case where a specified trigger interface is detected to be displayed, if a specified control operation is detected, trigger the device identification based on the specified wireless communication mode object scanning.
  • the method provided in this embodiment may further include the following process: scanning the broadcast signal sent by the device identifier based on the specified wireless communication method, and if the broadcast signal sent by the device identifier is scanned, The broadcast signal sent, it is determined that the device identifier is scanned.
  • the method provided in this embodiment may further include the following process: when starting to scan the device identifier based on the specified wireless communication method, periodically send a broadcast signal; if the device identifier is received When the object responds to the feedback signal of the broadcast signal, it is determined that the device identifier is scanned.
  • the application scenario shown in FIG. 1 includes a mobile terminal 100 and a device identifier 200 .
  • the mobile terminal 100 may scan the device identifier 200 through a specified wireless communication manner. After the mobile terminal 100 scans the device identifier 200, a communication connection can also be established with the device identifier 200 based on the specified wireless communication manner.
  • the specified wireless communication mode may be UWB (Ultra-wideband, ultra-wideband wireless communication mode).
  • the wireless communication mode is UWB
  • the device identifier 200 may be a UWB tag.
  • a terminal control method provided by the present application is applied to a mobile terminal, and the method includes:
  • the specified control operation may be in multiple manners.
  • the designated control operation may be an operation gesture.
  • the specified control operation includes: a tapping operation acting on a specified position of the mobile terminal.
  • the specified control operation may be two consecutive taps on the back cover of the mobile terminal, or may be three consecutive taps on the back cover of the mobile terminal.
  • the knocking position may be other positions besides the back cover, for example, the display screen.
  • the designated control operation may be that the mobile terminal is in a designated posture.
  • the specified gesture includes shaking left and right, shaking back and forth, or shaking up and down.
  • the aforementioned shaking may also be a more detailed shaking state, for example, the specified posture may include a specified number of times of shaking left and right, a specified number of times of shaking back and forth, or a specified number of times of shaking up and down.
  • the specified control operation can also be triggered through the shortcut tool interface of the mobile terminal itself.
  • the display of the shortcut tool interface may be triggered by performing a sliding operation from the top of the screen toward the bottom of the screen, and a trigger control may be displayed in the shortcut tool interface. Then, if a touch operation acting on the trigger control is detected, it can be determined that a specified control operation is triggered.
  • a specified control operation can also be triggered by means of voice control.
  • voice control e.g., a voice control operation
  • the specified voice content may be device control, or may be device scanning or the like.
  • the specified voice content may be set by the user according to his own habits.
  • the mobile terminal can first display a specified trigger interface, and in the case of displaying the specified trigger interface, if a specified control operation is detected, the mobile terminal will trigger the wireless communication based on the specified method.
  • the specified trigger interface can be triggered and displayed from the shortcut toolbar. Exemplarily, as shown in FIG. 3 , a specified trigger interface 10 is displayed, and prompt information may also be displayed in the specified trigger interface 10 , and the content of the prompt information may be “Tap the back cover twice in a row. Or shake left and right to trigger a scan”.
  • the mobile terminal After detecting the specified control operation, the mobile terminal can start scanning the device identifier based on the specified wireless communication method. Wherein, in this embodiment, the mobile terminal can scan the device identifier in various ways.
  • the mobile terminal can scan the broadcast signal sent by the device identifier based on the specified wireless communication method, and if the broadcast signal sent by the device identifier can be scanned, it can be determined that the device identifier has been scanned.
  • the mobile terminal can periodically send a broadcast signal when starting to scan the device identifier based on the specified wireless communication method. Make sure the device identifier is scanned.
  • the mobile terminal can acquire the operation corresponding to the device identifier, and then execute the operation corresponding to the scanned device identifier.
  • the mobile terminal may also determine the operation corresponding to the scanned device identifier in various ways.
  • a device identifier when a device identifier sends a broadcast signal, it can carry its own corresponding identity identifier in the broadcast signal.
  • the identity identifier is used to uniquely identify the corresponding device identifier, that is, the corresponding device identifier for each device identifier. Identity is different.
  • the mobile terminal may store the corresponding relationship between the identity of the device identifier and the operation, and then when the mobile terminal obtains the identity through the broadcast signal sent by the device identifier, the corresponding relationship can be determined according to the corresponding relationship. operation, and perform the determined operation. Exemplary, as shown in the following table:
  • ID Identity operate 1 D001 Turn on the torch 2 D002 Display the air conditioning control interface 3 D003 Display the TV control interface
  • the mobile terminal will perform the operation of turning on the flashlight; if the acquired identity is D002, then the mobile terminal will open the air-conditioning control interface. If the ID received is D003, the mobile terminal will open the TV control interface.
  • a device identifier when a device identifier sends a broadcast signal, it can carry an operation identifier corresponding to itself, and the operation identifier can be used to represent a corresponding operation, and different device identifiers can correspond to the same operation identifier.
  • the mobile terminal may store the corresponding relationship between the operation identifier of the device identifier and the operation, and then when the mobile terminal obtains the operation identifier through the broadcast signal sent by the device identifier, the corresponding relationship can be determined according to the corresponding relationship. operation, and perform the determined operation. Exemplary, as shown in the following table:
  • Operation ID operate 1 #flashlight# Turn on the torch 2 #air_conditioning# Display the air conditioning control interface 3 #TV_conditioning# Display the TV control interface
  • the mobile terminal will perform the operation of turning on the flashlight, and if the acquired operation identifier is #air_conditioning#, then the mobile terminal will turn on the air conditioning control. interface, if the acquired operation identifier is #TV_conditioning#, the mobile terminal will open the TV control interface.
  • a terminal control method In a terminal control method provided in this embodiment, if a specified control operation is detected, a device identifier is scanned based on a specified wireless communication method, and after the device identifier is scanned, an operation corresponding to the scanned device identifier is performed. .
  • the operation can be associated with the device identifier, and after the mobile terminal scans a device identifier in response to a specified control operation, it can automatically execute the operation corresponding to the scanned device identifier.
  • the operation improves the convenience for the mobile terminal to start the function.
  • a terminal control method provided by the present application is applied to a mobile terminal, and the method includes:
  • the mobile terminal may scan the device identifier when there is a certain distance between the mobile terminal and the device identifier, and in some cases, there may be multiple device identifiers.
  • the placement position is relatively close, and the operations corresponding to the device identifiers placed relatively close are not related to each other. For example, among the device identifiers placed relatively close, the corresponding operation of some of the device identifiers is to cast the screen to the TV, and the corresponding operation of some of the device identifiers is to perform some kind of control on the air conditioner.
  • the mobile terminal needs to further determine which operation corresponding to the device identifier is actually performed, and then the mobile terminal can scan the device identifier corresponding to the corresponding operation. Actions are displayed in order so that the user can choose from them.
  • the terminal may display the sorting result interface 11 on the current interface, and display the sorting result in the sorting result interface 11, wherein the corresponding operation is represented by the icon corresponding to the corresponding control target in the sorting result.
  • the icon named air conditioner represents the control operation of the air conditioner
  • the icon named humidifier represents the control operation of the humidifier
  • the icon named away from home mode represents the operation of switching to the home away mode.
  • the sorting may also be performed based on a specified rule, so that it is convenient for the user to select the desired operation more quickly.
  • the user wants the mobile terminal to perform an operation corresponding to a certain device identifier, he may hold the mobile terminal towards the device identifier and trigger scanning (for example, as shown in FIG. 1 ), and then the It is expected that the scanned device identifier may be closer to the orientation of the mobile terminal.
  • the sorting operations corresponding to the plurality of scanned device identifiers and displaying the sorting results include: acquiring respective scan angles corresponding to the plurality of scanned device identifiers, and the scan angles represent corresponding scan angles. The degree of deviation of the device identifiers relative to the mobile terminal; based on the scanning angle, the operations corresponding to the plurality of scanned device identifiers are sorted and the sorting results are displayed.
  • the scanning angle can be understood as the angle between the direction where the connection line between the device identifier and the mobile terminal is located and the specified reference direction.
  • the smaller the corresponding scanning angle the higher the sorting position of the operation corresponding to the device identifier, wherein the specified reference direction may be the orientation of the mobile terminal.
  • the scene shown in FIG. 6 includes a TV set 12 and an air conditioner 13 , wherein the TV set 12 corresponds to a device identifier 201 , and the air conditioner 13 corresponds to a device identifier 202 .
  • the device identifier can also be placed beside the corresponding device.
  • the orientation of the mobile terminal 100 is the direction pointed by the dotted line 14, then in the case shown in FIG. 7, the specified reference direction can be the direction pointed by the dotted line 14, then the device identifier 201 corresponding to the TV set 12 corresponds to The angle between the designated reference directions is ⁇ shown in the figure, and the angle between the device identifiers 202 corresponding to the air conditioner 13 corresponding to the designated reference directions is ⁇ shown in the figure, where ⁇ is smaller than ⁇ , in this case Then, the mobile terminal can determine that the scanning angle of the device identifier 201 is smaller than the scanning angle of the device identifier 202, then when sorting the operations corresponding to the scanned device identifiers, the sorting positions of the operations corresponding to the device identifiers 201 should be relatively The sorting position of the corresponding operation of the device identifier 202 is higher.
  • the designated reference direction is converted to the direction pointed by the dotted line 15 , then the device identifier 201 corresponding to the television set 12 corresponds to the designated reference direction.
  • the angle between the directions is i shown in the figure, and the angle between the device identifier 202 corresponding to the air conditioner 13 corresponding to the specified reference direction is ⁇ shown in the figure, where ⁇ is smaller than i.
  • the mobile terminal can determine that the scanning angle of the device identifier 202 is smaller than the scanning angle of the device identifier 201, then when sorting the scanned device identifiers, the sorting position of the corresponding operation of the device identifier 202 should be The sorting position of the corresponding operation relative to the device identifier 201 is higher.
  • the scanning angle may include a horizontal direction angle and a vertical direction angle.
  • the horizontal direction may be combined with the scanning angle.
  • the angle and the vertical direction angle are used to jointly judge the degree of deviation of the device marker relative to the mobile terminal, and then determine the target marker, and take the operation corresponding to the target marker as the target operation.
  • the mobile terminal may be configured with a first range corresponding to the horizontal direction angle and a second range corresponding to the vertical direction angle.
  • the mobile terminal detects that the horizontal direction angle corresponding to the device identifier is within the first range, and the corresponding When the vertical direction angle is within the second range, it is determined that the device identifier is a valid device identifier, and then in the case of multiple valid device identifiers, based on the size of the corresponding horizontal direction angle, the The operations corresponding to the valid device identifiers are sorted, wherein the smaller the difference between the horizontal direction angle and the middle value of the first range of the device identifiers, the higher the corresponding operations are sorted.
  • the middle value of the first range may be the sum of the two boundary values of the first range divided by 2. For example, the first range is that the horizontal angle range may be -10 degrees to 10 degrees, and the corresponding intermediate value is 0 degrees.
  • the mobile terminal 100 can determine the horizontal angle between the mobile terminal 100 and the device identifier 201 according to the broadcast signal sent by the device identifier 201 .
  • represents the horizontal direction angle
  • represents the wavelength
  • represents the arrival phase difference
  • d represents the horizontal distance between the first antenna and the second antenna.
  • the first antenna and the second antenna are antennas in the mobile terminal for receiving broadcast signals sent by the device identifier.
  • the vertical direction angle can also be calculated by the above formula, wherein d in the process of calculating the vertical direction angle represents the vertical distance between the third antenna and the fourth antenna, wherein the third antenna and the The fourth antenna is also an antenna in the mobile terminal for receiving broadcast signals sent by the device identifier.
  • the front sorting position can be understood as the sorting position is closer to the starting position of the sorting.
  • the sorting result shown in FIG. 10 indicates that the scanning angle of the device identifier corresponding to the control operation of the air conditioner is smaller than the scan angle of the device identifier corresponding to the control operation of the TV.
  • the scanning operation of the device identifier by the mobile terminal may have a certain time limit, and then the device identifier scanned within the time limit may be used as the scanned device identifier, and the time limit expires. After that, stop scanning for device identifiers. Furthermore, after the mobile terminal displays the sorting result, the user may still hold the mobile terminal to move. For example, if the user finds that the operation he needs does not appear in the displayed sorting result, the user may start moving again with the mobile terminal.
  • the mobile terminal displays the sorting result, if it detects the specified If the variation range of the reference direction is greater than the preset range threshold, the scanning of the device identifier can be restarted, and the scanning time is still the aforementioned certain time period, and during the rescanning process, if the scanned device If the angle changes, the mobile terminal will update the sorting result synchronously, so that the user can trigger the update of the sorting result by controlling the mobile terminal to move, so that the user can control the movement of the mobile terminal.
  • the device identifiers corresponding to the operations are ranked higher for the user to select. Exemplarily, in the state shown in FIG. 8 , the sorting result of sorting multiple scanned device identifiers may be as shown in FIG. 11 , then the mobile terminal moves from the state shown in FIG. 8 to the state shown in FIG. 7 . After the displayed state is displayed, the sorting result of sorting the plurality of scanned device identifiers may be as shown in FIG. 10 .
  • S230 Acquire a target operation determined from operations corresponding to a plurality of scanned device identifiers.
  • the displayed icon may be the icon corresponding to the control target corresponding to the device identifier.
  • the displayed icon may be The touched icon is used as the target icon, and the device identifier corresponding to the target icon is used as the target identifier. For example, if it is detected that the icon named "TV” in FIG. 11 is touched, the icon named "TV" can be used as the target icon.
  • the mobile terminal when there are multiple device identifiers scanned, in addition to the user selecting the target device identifier, the mobile terminal can also select the target identifier by himself. It should be noted that, each time the mobile terminal performs a certain operation, it can simultaneously record the environmental parameters when the operation is performed, and then establish the corresponding relationship between the operation and the environmental parameters.
  • the environmental parameter may include at least one of temperature information, time information, humidity information, and application running information in the mobile terminal.
  • the temperature information represents the current temperature
  • the humidity information represents the current humidity
  • the application running information represents which applications are currently running in the mobile terminal.
  • the mobile terminal scans that there are multiple device identities, it can obtain the operations corresponding to the multiple device identities as reference operations, and further obtain the environmental parameters of each reference operation when it is executed, Then use the current environment parameters to match the environment parameters of each reference operation when it is executed, and use the device identifier corresponding to the matched reference operation as the target device identifier, and the matching reference operation can be directly executed. . Furthermore, the mobile terminal may start timing after displaying the sorting result. Among them, if it is detected that the sorting result has been updated within the specified timing time length, the timing will be restarted. If the user has not selected the target device identifier when the timing meets the specified timing length, the mobile terminal can automatically determine the matching reference operation according to the environmental parameters based on the foregoing method, and execute the matching reference operation.
  • the timing of 3 seconds can be started. If the sorting result is changed compared with the result shown in Figure 10 before the timing time is less than 3 seconds, then Restart the 3-second timer. If the timing reaches 3 seconds, the operation corresponding to the device identifier corresponding to the icon named TV and the operation corresponding to the device identifier corresponding to the icon named air conditioner will be obtained as reference operations, and then two A reference operation is obtained, and the corresponding environmental parameters of the two reference operations are obtained, and the current environmental parameters are matched with the corresponding environmental parameters of the reference operation, thereby obtaining the matching reference operation.
  • the specific parameters included in the environmental parameters may be matched one by one, and if the specific parameters included in the two environmental parameters can be matched one by one, the two environmental parameters are determined. are matched with each other.
  • the environmental parameters include temperature information, time information, and humidity information
  • the environmental parameters to be matched include environmental parameters A and B.
  • environmental parameter A includes temperature information a1, time information a2 and humidity information a3, and environmental parameter B includes temperature information b1, time information b2 and humidity information b3, then in the process of matching environmental parameter A and environmental parameter B, Then, one by one, the temperature information a1 included in the environmental parameter A is matched with the temperature information b1 included in the environmental parameter B, the time information a2 included in the environmental parameter A is matched with the time information b2 included in the environmental parameter B, and the environmental parameter A includes humidity information a3 and environmental parameter B includes humidity information b3 to match, if the temperature information a1 and the temperature information b1 can be matched, the time information a2 and the time information b2 can be matched, and the humidity information a3 and the humidity information b3 can be matched , then it is determined that the environmental parameter A and the environmental parameter B can match.
  • the matching between the information specifically included in the environmental parameter may be understood as the same information, or the error between the information is within a specified error range.
  • the time information b2 is at 16:00 and the time information a2 is at 16:00, then the time information b2 and the time information a2 here are the same, it can be determined that the time information a2 and the time information b2 are the same, and then the It is determined that the time information a2 and the time information b2 match.
  • the specified error range corresponding to the time information is 1 minute, then if the time information b2 is 16:00, and the time information a2 is 16:30, then it can also be determined that the time information a2 and the time information b2 are matched. of.
  • the mobile terminal can prioritize the specific information included in the environment parameter, so that the quantity of information included in the environment parameter can be successively reduced according to each matching result.
  • the information currently included in the environment parameter includes information i1, information i2, information i3 and information i4.
  • the priority corresponding to the information i1 is higher than the priority corresponding to the information i2, the priority corresponding to the information i2 is higher than the priority corresponding to the information i3, and the priority corresponding to the information i3 is higher than the priority corresponding to the information i4. Then, firstly, based on the information i1, the information i2, the information i3 and the information i4, the environmental parameters are found to be matched and found, and if the matching fails, the environmental parameters can be updated to include only the information i1, the information i2 and the information i3.
  • This embodiment provides a terminal control method, so that the operation can be associated with a device identifier in the above manner, and after the mobile terminal scans a certain device identifier in response to a specified control operation, it can automatically Executing the operation corresponding to the scanned device identifier improves the convenience of the mobile terminal to start the function.
  • the multiple scanned device identifiers can also be sorted, and the position of the scanned device identifiers relative to the mobile terminal can be determined according to the orientation of the mobile terminal. Sorting is helpful for users to quickly determine the operation that they actually want to trigger.
  • a terminal control method provided by the present application is applied to a mobile terminal, and the method includes:
  • the operation identifier is an identifier used to represent the corresponding operation, and the operation identifier can be composed of numbers and letters, and the operation identifier can be the identifier of the device identifier, or other characters other than the identifier.
  • a plurality of device identifiers can also be used to correspond to an operation, so that the mobile terminal can not only
  • the received device identifiers are automatically executed, and more refined and personalized operations can also be performed.
  • the operation performed by the mobile terminal may be to start the air conditioner, and the operation parameters for the operation of starting the air conditioner may include the working mode and the working temperature after the air conditioner is started.
  • the operation parameters for the operation of starting the air conditioner may include the working mode and the working temperature after the air conditioner is started.
  • more other device identifiers can also be used to represent specific operation parameters.
  • the functions corresponding to the bound device identifier can be distinguished. If the currently bound device identifier corresponds to a certain operation, then it will trigger the display of the binding operation interface, and then correspond the current corresponding device identifier to a certain operation, then after completing the binding of the operation corresponding to a certain device identifier, you can further respond The user selects to enter the operation parameter binding interface. After displaying the operation parameter binding interface, the mobile terminal can further bind the operation parameters to the unbound device identifiers.
  • the mobile terminal can display the binding operation interface shown in FIG. 13 .
  • the mobile terminal can be switched to display the operation selection interface 18 shown in FIG. 14 .
  • the operation selection interface 18 can display currently selectable bound operations, such as controlling smart devices, executing smart scenarios, and speeding screencast.
  • the control of the smart device may be for the mobile terminal to control the startup of the smart device or to be in a specified state, for example, a standby state.
  • Executing a smart scenario can be initiated for triggering the corresponding smart scenario.
  • a configured smart scene includes a home theater scene that includes the TV on, the curtains closed, and the lighting off.
  • the mobile terminal can switch to display the screen projection target selection interface 19 shown in FIG. 15 . If the user selects the smart TV R1, the mobile terminal can switch to display the configuration interface 20 corresponding to the smart TV R1 shown in FIG. 16 (the specific content of the interface is not shown in the figure). In the configuration interface 20, a control named Complete and a control named Parameter Binding are displayed. If it is detected that the control named Complete is touched, the mobile terminal will end the binding of the device identifier. When the control bound for the parameter is touched, the mobile terminal will switch to the interface displaying the bound parameter. Exemplarily, as shown in FIG.
  • the operation parameters corresponding to the operation of fast screen projection may include volume and clarity, wherein the volume represents the volume of the audio and video data being played by the TV, and the clarity indicates that the mobile terminal is The sharpness of the projected screen when outputting. Then, when the mobile terminal starts to display the image on the left in Figure 17, it will restart the scanning of the set marker, and during the scanning process, a prompt message with the content of "scanning a new device marker" can be displayed.
  • the bound device identifier can display the prompt message "Blank device identifier has been scanned, please select volume". If the control is completed, the configuration operation will be ended.
  • the mobile terminal can display the interface for the configuration of the next parameter, for example, as shown in the image on the right in Figure 17 Clear configuration interface.
  • a more refined screen projection operation needs to be implemented jointly by three device identifiers. For example, if the volume selected by the user is 10 and the resolution is ultra-clear, after scanning the three device identifiers, the mobile terminal can not only perform the operation of projecting the screen to the smart TV R1, but also set the smart TV while projecting the screen. The audio and video playback volume of the TV R1 is 10, and the mobile terminal will transmit the picture to the smart TV R1 in an ultra-clear format.
  • This embodiment provides a terminal control method, so that the operation can be associated with a device identifier in the above manner, and after the mobile terminal scans a certain device identifier in response to a specified control operation, it can automatically Executing the operation corresponding to the scanned device identifier improves the convenience of the mobile terminal to start the function.
  • an operation can also be jointly identified by multiple device identifiers, so that the mobile terminal can perform a certain operation in a more refined manner by scanning the device identifiers.
  • a terminal control method provided by the present application is applied to a mobile terminal, and the method includes:
  • the mobile terminal can locally store the operation corresponding to the device identifier.
  • the correspondence between the device identifier and the operation may be stored in the form of a data table. Then, after scanning the device identifier, the mobile terminal can first check whether there is a scanned device identifier in the data table storing the corresponding relationship. If no scanned device identifier is found, it means that the mobile terminal still has The operation on the device identifier is not established, so that the binding operation interface can be displayed. If the device identifier is scanned, it is determined that the mobile terminal has bound the device identifier, and the specific corresponding operation can be further obtained.
  • This embodiment provides a terminal control method, so that the operation can be associated with a device identifier in the above manner, and after the mobile terminal scans a certain device identifier in response to a specified control operation, it can automatically Executing the operation corresponding to the scanned device identifier improves the convenience of the mobile terminal to start the function. Moreover, in this embodiment, the mobile terminal will first detect whether the scanned device identifier is bound with a corresponding operation, and if it is detected that the corresponding device identifier is not bound, it will directly display the binding operation interface, thereby This makes it possible to realize the binding operation of the device identifier more flexibly and quickly.
  • a terminal control method provided by this application is applied to a control module, and the method includes:
  • S510 Scan the device identifier.
  • S530 Send the operation identifier to the mobile terminal, so that the mobile terminal performs an operation corresponding to the operation identifier.
  • the control module is arranged in the protective shell of the mobile terminal; the sending the operation identifier to the mobile terminal includes: sending the operation identifier to the mobile terminal by means of wireless communication.
  • the wireless communication mode may be Bluetooth communication.
  • control module can establish a wired connection with the interface of the mobile terminal itself to realize communication.
  • the control module can be connected with the USB interface to realize communication with the mobile terminal.
  • This embodiment provides a terminal control method, so that the operation can be associated with a device identifier in the above-mentioned manner, and after the control module scans a certain device identifier in response to a specified control operation, it can trigger the The mobile terminal performs the operation corresponding to the scanned device identifier by itself, which improves the convenience for the mobile terminal to start the function.
  • the control module provided in this embodiment can enable the mobile terminal itself to trigger the execution of the corresponding operation based on the scanning of the device identifier even if the mobile terminal itself does not have the function of scanning the device identifier.
  • a terminal control apparatus 600 provided by the present application operates on a mobile terminal, and the apparatus 600 includes:
  • the device identifier scanning unit 610 is configured to scan the device identifier based on the specified wireless communication method if a specified control operation is detected.
  • the device identifier scanning unit 610 is specifically configured to trigger device identifier scanning based on the specified wireless communication method if a specified control operation is detected when a specified trigger interface is detected to be displayed.
  • the device identifier scanning unit 610 is specifically configured to scan the broadcast signal sent by the device identifier based on the specified wireless communication method, if the broadcast signal sent by the device identifier is scanned , confirm that the device identifier is scanned.
  • the device identifier scanning unit 610 is specifically configured to periodically send a broadcast signal when starting to scan the device identifier based on the specified wireless communication method; When the feedback signal of the broadcast signal is broadcast, it is determined that the device identifier is scanned.
  • the terminal control unit 620 is configured to perform an operation corresponding to the scanned device identifier if the device identifier is scanned.
  • the designated control operation includes: a tapping operation acting on a designated position of the mobile terminal.
  • the terminal control unit 620 is specifically configured to sort the operations corresponding to the plurality of scanned device identifiers and display the sorting result if the device identifiers are scanned and the number of the scanned device identifiers is multiple. ; Acquire a target operation determined from operations corresponding to the plurality of scanned device identifiers; and execute the target operation.
  • the terminal control unit 620 is specifically configured to acquire respective scanning angles corresponding to a plurality of scanned device identifiers, where the scan angles represent the degree of deviation of the corresponding device identifiers relative to the mobile terminal; based on the scanning The operations corresponding to the plurality of scanned device identifiers are sorted and the sorting results are displayed, wherein, the smaller the corresponding scanning angle, the higher the sorting position of the operations corresponding to the device identifiers.
  • the method further includes: detecting whether the scanned device identifier is bound with a corresponding operation. If the scanned device identifier is bound with a corresponding operation, execute the operation corresponding to the scanned device identifier; if the scanned device identifier is not bound with a corresponding operation, display the binding operation interface .
  • the scanning angle is the direction from the direction of the connection between the device identifier and the mobile terminal to the designated position.
  • the angle between reference directions, where the specified reference direction is the orientation of the mobile terminal.
  • the terminal control unit 620 is specifically configured to restart the scanning of the device identifier if it is detected that the variation range of the specified reference direction is greater than the preset range threshold; if the device identifier scanned within the scanning time When the scanning angle of the object changes, the sorting result is updated.
  • the terminal control unit 620 is specifically configured to determine the The device identifier is a valid device identifier; if the number of scanned valid device identifiers is multiple, based on the size of the horizontal angle corresponding to each of the multiple valid device identifiers, the The operations corresponding to the device identifiers are sorted, wherein the smaller the difference between the horizontal direction angle and the middle value of the first range is, the higher the operations corresponding to the valid device identifiers are.
  • a terminal control apparatus if a specified control operation is detected, scans a device identifier based on a specified wireless communication method, and after scanning the device identifier, executes an operation corresponding to the scanned device identifier .
  • the operation can be associated with the device identifier, and after the mobile terminal scans a device identifier in response to a specified control operation, it can automatically execute the operation corresponding to the scanned device identifier.
  • the operation improves the convenience for the mobile terminal to start the function.
  • a terminal control device 700 provided by the present application operates in a control module, and the device 700 includes:
  • the device identifier scanning unit 710 is used for scanning device identifiers.
  • the information acquisition unit 720 is configured to acquire the operation identifier corresponding to the scanned device identifier if the device identifier is scanned.
  • the terminal control unit 730 is configured to send the operation identifier to the mobile terminal, so that the mobile terminal can perform an operation corresponding to the operation identifier.
  • control module is arranged in the protective shell of the mobile terminal; the terminal control unit 730 is specifically configured to send the operation identifier to the mobile terminal by means of wireless communication.
  • control module establishes a wired connection with the interface of the mobile terminal itself.
  • This embodiment provides a terminal control apparatus, so that the operation can be associated with a device identifier in the above manner, and then after the control module scans a certain device identifier in response to a specified control operation, it can trigger the The mobile terminal performs the operation corresponding to the scanned device identifier by itself, which improves the convenience for the mobile terminal to start the function.
  • the control module provided in this embodiment can enable the mobile terminal itself to trigger the execution of the corresponding operation based on the scanning of the device identifier even if the mobile terminal itself does not have the function of scanning the device identifier.
  • a mobile terminal provided by the present application will be described below with reference to FIG. 22 .
  • the mobile terminal 200 includes one or more (only one shown in the figure) a processor 102, a memory 104, and a network module 106 coupled to each other.
  • the memory 104 stores a program that can execute the content in the foregoing embodiments
  • the processor 102 can execute the program stored in the memory 104 .
  • the processor 102 may include one or more cores for processing data.
  • the processor 102 uses various interfaces and lines to connect various parts in the entire mobile terminal 200, and executes by running or executing the instructions, programs, code sets or instruction sets stored in the memory 104, and calling the data stored in the memory 104.
  • the processor 102 may adopt at least one of digital signal processing (Digital Signal Processing, DSP), field-programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA).
  • DSP Digital Signal Processing
  • FPGA Field-Programmable Gate Array
  • PLA programmable logic array
  • the processor 102 may integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU), a modem, and the like.
  • CPU Central Processing Unit
  • GPU Graphics Processing Unit
  • the CPU mainly handles the operating system, user interface and application programs, etc.
  • the GPU is used for rendering and drawing of the display content
  • the modem is used to handle wireless communication. It can be understood that, the above-mentioned modem may not be integrated into the processor 102, and is implemented by a communication chip alone.
  • the memory 104 may include a random access memory (Random Access Memory, RAM), or may include a read-only memory (Read-Only Memory, ROM). Memory 104 may be used to store instructions, programs, codes, sets of codes, or sets of instructions.
  • the memory 104 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing the operating system, instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.) , instructions for implementing the following method embodiments, and the like.
  • the device controlled by the terminal may be stored in the memory 104 .
  • the apparatus controlled by the terminal may be the aforementioned apparatus 600 or the aforementioned apparatus 700 .
  • the storage data area may also store data created by the terminal 100 during use (such as phone book, audio and video data, chat record data) and the like.
  • the network module 106 is used for receiving and sending electromagnetic waves, realizing mutual conversion between electromagnetic waves and electrical signals, so as to communicate with a communication network or other devices, for example, communicate with an audio playback device.
  • the network module 106 may include various existing circuit elements for performing these functions, eg, antennas, radio frequency transceivers, digital signal processors, encryption/decryption chips, subscriber identity module (SIM) cards, memory, etc. .
  • SIM subscriber identity module
  • the network module 106 can communicate with various networks such as the Internet, an intranet, a wireless network, or communicate with other devices through a wireless network.
  • the aforementioned wireless network may include a cellular telephone network, a wireless local area network, or a metropolitan area network.
  • the network module 106 may interact with the base station for information.
  • the network module 106 may be a UBM module.
  • FIG. 23 shows a structural block diagram of a computer-readable storage medium provided by an embodiment of the present application.
  • the computer-readable storage medium 1100 stores program codes, and the program codes can be invoked by the processor to execute the methods described in the above method embodiments.
  • the computer readable storage medium 1100 may be an electronic memory such as flash memory, EEPROM (Electrically Erasable Programmable Read Only Memory), EPROM, hard disk, or ROM.
  • the computer-readable storage medium 1100 includes a non-transitory computer-readable storage medium.
  • the computer-readable storage medium 1100 has storage space for program code 1110 that performs any of the method steps in the above-described methods. These program codes can be read from or written to one or more computer program products. Program code 1110 may be compressed, for example, in a suitable form.
  • a specified control operation if a specified control operation is detected, the device identifier is scanned based on the specified wireless communication method, and when the scanned After the device identifier is identified, the operation corresponding to the scanned device identifier is performed.
  • the operation can be associated with the device identifier, and after the mobile terminal scans a device identifier in response to a specified control operation, it can automatically execute the operation corresponding to the scanned device identifier.
  • the operation improves the convenience for the mobile terminal to start the function.
  • the wireless communication method collected in this application can be UWB, so that the user is not limited by distance, that is, without placing the mobile terminal very close to the device identifier, it can be within a certain range (for example, 1 meter or even further away). )
  • the mobile terminal can be triggered to perform a corresponding operation by performing a certain directional operation on the mobile terminal.
  • first and second are only used for descriptive purposes, and should not be construed as indicating or implying relative importance or implying the number of indicated technical features. Thus, a feature delimited with “first”, “second” may expressly or implicitly include at least one of that feature.
  • plurality means at least two, such as two, three, etc., unless expressly and specifically defined otherwise.
  • any description of a process or method in the flowcharts or otherwise described herein may be understood to represent a module, segment or portion of code comprising one or more executable instructions for implementing a specified logical function or step of the process , and the scope of the preferred embodiments of the present application includes alternative implementations in which the functions may be performed out of the order shown or discussed, including performing the functions substantially concurrently or in the reverse order depending upon the functions involved, which should It is understood by those skilled in the art to which the embodiments of the present application belong.

Abstract

Disclosed in the embodiments of the present application are a terminal control method and apparatus, a control module, a mobile terminal and a storage medium. The method comprises: if a specified control operation is detected, performing device marker scanning on the basis of a specified wireless communication manner; and if a device marker is scanned, executing an operation corresponding to the scanned device marker. Therefore, by means of the method, an operation can be associated with a device marker, and thus, after a certain device marker is scanned by a mobile terminal in response to a specified control operation, the mobile terminal can automatically execute an operation corresponding to the scanned device marker, such that the convenience of the mobile terminal starting a function is improved.

Description

终端控制方法、装置、控制模组、移动终端及存储介质Terminal control method, device, control module, mobile terminal and storage medium
相关申请的交叉引用CROSS-REFERENCE TO RELATED APPLICATIONS
本申请要求于2021年3月15日提交的申请号为202110275861.0的中国申请的优先权,其在此出于所有目的通过引用将其全部内容并入本文。This application claims priority to Chinese Application No. 202110275861.0, filed on March 15, 2021, which is hereby incorporated by reference in its entirety for all purposes.
技术领域technical field
本申请涉及移动终端技术领域,更具体地,涉及一种终端控制方法、装置、控制模组、移动终端及存储介质。The present application relates to the technical field of mobile terminals, and more particularly, to a terminal control method, device, control module, mobile terminal and storage medium.
背景技术Background technique
随着终端技术的发展,移动终端自身具备了更多的功能。例如,移动终端可以具备控制外部设备标识物进行运行的功能,或者移动终端可以播放视音频等。With the development of terminal technology, the mobile terminal itself has more functions. For example, the mobile terminal may have the function of controlling the operation of the external device identifier, or the mobile terminal may play video and audio.
发明内容SUMMARY OF THE INVENTION
鉴于上述问题,本申请提出了一种终端控制方法、装置、控制模组、移动终端及存储介质,以改善上述问题。In view of the above problems, the present application proposes a terminal control method, device, control module, mobile terminal and storage medium to improve the above problems.
第一方面,本申请提供了一种终端控制方法,应用于移动终端,所述方法包括:若检测到指定的控制操作,基于指定无线通信方式进行设备标识物扫描;In a first aspect, the present application provides a terminal control method, which is applied to a mobile terminal. The method includes: if a specified control operation is detected, scanning a device identifier based on a specified wireless communication method;
若扫描到设备标识物,执行与扫描到的设备标识物对应的操作。If a device identifier is scanned, the operation corresponding to the scanned device identifier is performed.
第二方面,本申请提供了一种终端控制方法,应用于控制模组,所述方法包括:进行设备标识物扫描;若扫描到设备标识物,获取所述扫描到的设备标识物对应的操作标识;向移动终端发送所述操作标识,以用于所述移动终端执行与所述操作标识对应的操作。In a second aspect, the present application provides a terminal control method, which is applied to a control module. The method includes: scanning a device identifier; if a device identifier is scanned, obtaining an operation corresponding to the scanned device identifier identification; sending the operation identification to the mobile terminal, so that the mobile terminal can perform the operation corresponding to the operation identification.
第三方面,本申请提供了一种终端控制装置,运行于移动终端,所述装置包括:设备标识物扫描单元,用于若检测到指定的控制操作,基于指定无线通信方式进行设备标识物扫描;终端控制单元,用于若扫描到设备标识物,执行与扫描到的设备标识物对应的操作。In a third aspect, the present application provides a terminal control apparatus, running on a mobile terminal, the apparatus includes: a device identifier scanning unit, configured to scan the device identifier based on a designated wireless communication method if a designated control operation is detected ; The terminal control unit is used to perform an operation corresponding to the scanned device identifier if the device identifier is scanned.
第四方面,本申请提供了一种终端控制装置,运行于控制模组,所述装置包括:设备标识物扫描单元,用于进行设备标识物扫描;信息获取单元,用于若扫描到设备标识物,获取所述扫描到的设备标识物对应的操作标识;终端控制单元,用于向移动终端发送所述操作标识,以用于所述移动终端执行与所述操作标识对应的操作。In a fourth aspect, the present application provides a terminal control device, which runs in a control module, the device includes: a device identifier scanning unit, used for scanning the device identifier; an information acquisition unit, used for scanning if the device identifier is scanned. The operation identifier corresponding to the scanned device identifier is obtained; the terminal control unit is configured to send the operation identifier to the mobile terminal, so that the mobile terminal can perform the operation corresponding to the operation identifier.
第五方面,本申请提供了一种移动终端,包括一个或多个处理器以及存储器;一个或多个程序被存储在所述存储器中并被配置为由所述一个或多个处理器执行,所述一个或多个程序配置用于执行上述的方法。In a fifth aspect, the present application provides a mobile terminal, comprising one or more processors and a memory; one or more programs are stored in the memory and configured to be executed by the one or more processors, The one or more programs are configured to perform the methods described above.
第六方面,本申请提供的一种存储有处理器可执行的程序代码的计算机可读存储介质,所述计算机可读存储介质包括存储的程序代码,其中,在所述程序代码运行时执行上述的方法。In a sixth aspect, the present application provides a computer-readable storage medium storing program code executable by a processor, the computer-readable storage medium including the stored program code, wherein the above-mentioned program code is executed when the program code is executed. Methods.
附图说明Description of drawings
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions in the embodiments of the present application more clearly, the following briefly introduces the drawings that are used in the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application. For those skilled in the art, other drawings can also be obtained from these drawings without creative effort.
图1示出了本申请提出的一种终端控制方法的的场景示意图;FIG. 1 shows a schematic diagram of a scenario of a terminal control method proposed by the present application;
图2示出了本申请提出的一种终端控制方法的流程图;FIG. 2 shows a flowchart of a terminal control method proposed by the present application;
图3示出了本申请中的一种触发界面的示意图;3 shows a schematic diagram of a trigger interface in the present application;
图4示出了本申请提出的另一种终端控制方法的流程图;FIG. 4 shows a flowchart of another terminal control method proposed by the present application;
图5示出了本申请中的一种排序结果界面的示意图;5 shows a schematic diagram of a sorting result interface in the present application;
图6示出了本申请中的一种设备标识物的设置位置的示意图;FIG. 6 shows a schematic diagram of the setting position of a device identifier in the present application;
图7示出了本申请中的一种扫描角度的示意图;FIG. 7 shows a schematic diagram of a scanning angle in the present application;
图8示出了本申请中的另一种扫描角度的示意图;FIG. 8 shows a schematic diagram of another scanning angle in the present application;
图9示出了本申请中的再一种扫描角度的示意图;FIG. 9 shows a schematic diagram of still another scanning angle in the present application;
图10示出了本申请中的另一种排序结果界面的示意图;Figure 10 shows a schematic diagram of another sorting result interface in the present application;
图11示出了本申请中的再一种排序结果界面的示意图;Figure 11 shows a schematic diagram of yet another sorting result interface in the present application;
图12示出了本申请提出的再一种终端控制方法的流程图;FIG. 12 shows a flowchart of still another terminal control method proposed by the present application;
图13示出了本申请中的一种绑定操作界面的示意图;Figure 13 shows a schematic diagram of a binding operation interface in the present application;
图14示出了本申请中的一种操作选择界面的示意图;Figure 14 shows a schematic diagram of an operation selection interface in the present application;
图15示出了本申请中的一种投屏目标的选择界面的示意图;FIG. 15 shows a schematic diagram of a selection interface of a screen projection target in the present application;
图16示出了本申请中的一种配置界面的示意图;Figure 16 shows a schematic diagram of a configuration interface in the present application;
图17示出了本申请中的一种绑定操作对应的操作参数的界面的示意图;17 shows a schematic diagram of an interface of an operation parameter corresponding to a binding operation in the present application;
图18示出了本申请提出的又一种终端控制方法的流程图;FIG. 18 shows a flowchart of another terminal control method proposed by the present application;
图19示出了本申请提出的又一种终端控制方法的流程图;FIG. 19 shows a flowchart of another terminal control method proposed by the present application;
图20示出了本申请提出的一种终端控制装置的结构框图;FIG. 20 shows a structural block diagram of a terminal control apparatus proposed by the present application;
图21示出了本申请提出的另一种终端控制装置的结构框图;FIG. 21 shows a structural block diagram of another terminal control apparatus proposed by the present application;
图22示出了本申请的用于执行根据本申请实施例的终端控制方法的移动终端的结构框图;FIG. 22 shows a structural block diagram of a mobile terminal of the present application for executing the terminal control method according to an embodiment of the present application;
图23是本申请实施例的用于保存或者携带实现根据本申请实施例的终端控制方法的程序代码的存储单元。FIG. 23 is a storage unit for storing or carrying a program code for implementing the terminal control method according to the embodiment of the present application according to the embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present application.
随着终端技术的发展,移动终端除了具备基础的进行通话功能外,还具备了更多的功能。例如,移动终端可以进行音视频的播放等。再者,随着智能设备(可以理解为能通过Wi-Fi/蓝牙等多种协议方式连接上网络,从而实现自身数据、状态实时在线化的设备)的出现,移动终端还具备了对智能设备进行控制的功能。例如,移动终端可以控制电视机同步播放移动终端中正在播放的视频,或者移动终端直接将图像投射到电视机中进行播放。With the development of terminal technology, the mobile terminal has more functions besides the basic function of making a call. For example, the mobile terminal can play audio and video. Furthermore, with the emergence of smart devices (which can be understood as devices that can connect to the network through various protocols such as Wi-Fi/Bluetooth, so as to realize real-time online data and status), mobile terminals are also equipped with smart devices. function to control. For example, the mobile terminal can control the TV set to play the video being played in the mobile terminal synchronously, or the mobile terminal can directly project the image to the TV set for playing.
但是,发明人对相关移动终端进行功能启动的方式进行研究后发现,相关的功能启动方式还存在不够便利的问题。在相关的启动方式中,需要用户操作移动终端启动相应的应用程序,然后再操作应用程序进入到相应的界面,最后在该相应的界面中进行功能启动,进而就造成用户需要先经过较深的操作路径后,才能实际的触发功能启动。However, the inventors have researched the method for activating the function of the related mobile terminal and found that the related function activating method still has the problem of inconvenience. In the related startup mode, the user needs to operate the mobile terminal to start the corresponding application program, then operate the application program to enter the corresponding interface, and finally start the function in the corresponding interface. Only after the operation path can the actual trigger function be activated.
因此,发明人提出了本申请中的一种终端控制方法、装置、控制模组、移动终端及存储介质,在该方法中若检测到指定的控制操作,则会基于指定无线通信方式进行设备标识物扫描,并且在扫描到设备标识物后,执行与扫描到的设备标识物对应的操作。从而通过上述方式使得可以将操作与设备标识物进行关联,进而在移动终端响应于指定的控制操作而扫描到某个设备标识物后,就可以自行的执行与扫描到的设备标识物所对应的操作,提升了移动终端进行功能启动的便利性。Therefore, the inventor proposes a terminal control method, device, control module, mobile terminal and storage medium in the present application. In this method, if a specified control operation is detected, a device identification will be performed based on a specified wireless communication method. After scanning the device identifier, perform an operation corresponding to the scanned device identifier. In this way, the operation can be associated with the device identifier, and after the mobile terminal scans a device identifier in response to a specified control operation, it can automatically execute the operation corresponding to the scanned device identifier. The operation improves the convenience for the mobile terminal to start the function.
在一种实施方式中,所述指定的控制操作包括:作用于移动终端的指定位置的敲击操作。In one embodiment, the specified control operation includes: a tapping operation acting on a specified position of the mobile terminal.
在一种实施方式中,本实施例提供的方法还可以包括如下流程:若扫描到设备标识物且扫描到的设备标识物的数量为多个,对多个扫描到的设备标识物对应的操作进行排序并展示排序结果;获取从多个扫描到的设备标识物对应的操作中确定的目标操作;执行所述目标操作。In one embodiment, the method provided in this embodiment may further include the following process: if device identifiers are scanned and the number of scanned device identifiers is multiple, the operation corresponding to the multiple scanned device identifiers is performed. Sorting and displaying the sorting results; acquiring target operations determined from operations corresponding to multiple scanned device identifiers; and executing the target operations.
在一种实施方式中,本实施例提供的方法还可以包括如下流程:获取多个扫描到的设备标识物各自对应的扫描角度,所述扫描角度表征对应的设备标识物相对所述移动终端的偏离程度;基于所述扫描角度,对多个扫描到的设备标识物对应的操作进行排序并展示排序结果。In an implementation manner, the method provided in this embodiment may further include the following process: acquiring respective scanning angles corresponding to a plurality of scanned device identifiers, where the scanning angles represent the corresponding device identifiers relative to the mobile terminal. Degree of deviation; based on the scanning angle, sort operations corresponding to multiple scanned device identifiers and display the sorting results.
在一种实施方式中,本实施例提供的方法还可以包括如下流程:若扫描到设备标识物且扫描到的设备标识物的数量为多个,获取多个扫描到的设备标识物各自对应的操作标识,以得到多个操作标识;执行与所述多个操作标识对应的操作。In an implementation manner, the method provided in this embodiment may further include the following process: if a device identifier is scanned and the number of the scanned device identifiers is multiple, obtain the corresponding corresponding to the multiple scanned device identifiers. operation identifiers to obtain multiple operation identifiers; and perform operations corresponding to the multiple operation identifiers.
在一种实施方式中,本实施例提供的方法还可以包括如下流程:检测扫描到的设备标识物是否绑定有对应的操作;若所述扫描到的设备标识物绑定有对应的操作,执行与扫描到的设备标识物对应的操作;若所述扫描到的设备标识物未绑定有对应的操作,显示绑定操作界面。In one embodiment, the method provided in this embodiment may further include the following process: detecting whether the scanned device identifier is bound with a corresponding operation; if the scanned device identifier is bound with a corresponding operation, Perform an operation corresponding to the scanned device identifier; if the scanned device identifier is not bound with a corresponding operation, a binding operation interface is displayed.
在一种实施方式中,所述指定无线通信方式包括:超宽带无线通信方式。In an implementation manner, the designated wireless communication manner includes: an ultra-wideband wireless communication manner.
在一种实施方式中,本实施例提供的方法还可以包括如下流程:通过无线通信的方式,向移动终端发送所述操作标识。In an implementation manner, the method provided in this embodiment may further include the following process: sending the operation identifier to the mobile terminal by means of wireless communication.
在一种实施方式中,本实施例提供的方法还可以包括如下流程:对应的所述扫描角度越小的设备标识物所对应操作的排序位置越靠前,其中,所述扫描角度为所述设备标识物与所述移动终端之间的连线所在方向到指定基准方向之间的角度,所述指定基准方向为所述移动终端的朝向。In an embodiment, the method provided in this embodiment may further include the following process: the smaller the scanning angle, the higher the sorting position of the corresponding operation of the device identifier, wherein the scanning angle is the The angle between the direction of the connection line between the device identifier and the mobile terminal and a specified reference direction, where the specified reference direction is the orientation of the mobile terminal.
在一种实施方式中,本实施例提供的方法还可以包括如下流程:若检测到所述指定基准方向的变化幅度大于预设幅度阈值,则重新开始对设备标识物进行扫描;若在扫描时间内扫描到的设备标识物的扫描角度发生变化,对所述排序结果进行更新。In an implementation manner, the method provided in this embodiment may further include the following process: if it is detected that the variation range of the specified reference direction is greater than a preset range threshold, then restart the scanning of the device identifier; The scanning angle of the scanned device identifiers changes, and the sorting result is updated.
在一种实施方式中,所述扫描角度包括水平方向角度以及竖直方向角度,所述移动终端配置有 水平方向角度对应的第一范围以及竖直方向角度的第二范围;本实施例提供的方法还可以包括如下流程:若检测到设备标识物对应的水平方向角度在所述第一范围内,且对应的竖直方向角度在所述第二范围内,确定所述设备标识物为有效的设备标识物;若扫描到的有效的设备标识物的数量为多个,基于多个所述有效的设备标识物各自对应的水平方向角度的大小,对多个所述有效的设备标识物对应的操作进行排序,其中,水平方向角度与所述第一范围的中间数值的差值越小的所述有效的设备标识物对应的操作排序越靠前。In one embodiment, the scanning angle includes a horizontal direction angle and a vertical direction angle, and the mobile terminal is configured with a first range corresponding to the horizontal direction angle and a second range of the vertical direction angle; The method may further include the following process: if it is detected that the horizontal direction angle corresponding to the device identifier is within the first range, and the corresponding vertical direction angle is within the second range, it is determined that the device identifier is valid equipment identifiers; if the number of scanned valid equipment identifiers is multiple, based on the respective horizontal angles corresponding to the multiple valid equipment identifiers, the The operations are sorted, wherein the smaller the difference between the horizontal direction angle and the middle value of the first range, the higher the sorting of the operations corresponding to the valid device identifiers.
在一种实施方式中,本实施例提供的方法还可以包括如下流程:在检测到显示指定的触发界面的情况下,若检测到指定的控制操作,触发基于所述指定无线通信方式进行设备标识物扫描。In an implementation manner, the method provided in this embodiment may further include the following process: in the case where a specified trigger interface is detected to be displayed, if a specified control operation is detected, trigger the device identification based on the specified wireless communication mode object scanning.
在一种实施方式中,本实施例提供的方法还可以包括如下流程:基于所述指定无线通信方式对所述设备标识物所发送的广播信号进行扫描,若扫描到由所述设备标识物所发送的广播信号,确定扫描到所述设备标识物。In an implementation manner, the method provided in this embodiment may further include the following process: scanning the broadcast signal sent by the device identifier based on the specified wireless communication method, and if the broadcast signal sent by the device identifier is scanned, The broadcast signal sent, it is determined that the device identifier is scanned.
在一种实施方式中,本实施例提供的方法还可以包括如下流程:在开始基于所述指定无线通信方式进行设备标识物扫描时,周期性的发送广播信号;若接收到由所述设备标识物响应所述广播信号的反馈信号时,确定扫描到所述设备标识物。In an implementation manner, the method provided in this embodiment may further include the following process: when starting to scan the device identifier based on the specified wireless communication method, periodically send a broadcast signal; if the device identifier is received When the object responds to the feedback signal of the broadcast signal, it is determined that the device identifier is scanned.
下面将先对本申请所涉及的应用环境进行介绍。The following will first introduce the application environment involved in this application.
如图1所示的应用场景中包括有移动终端100以及设备标识物200。其中,移动终端100可以通过指定的无线通信方式对设备标识物200进行扫描。在移动终端100扫描到设备标识物200后还可以基于该指定的无线通信方式与设备标识物200建立通信连接。可选的,该指定的无线通信方式可以为UWB(Ultra-wideband,超宽带无线通信方式),对应的,在无线通信方式为UWB的情况下,设备标识物200可以为UWB标签。The application scenario shown in FIG. 1 includes a mobile terminal 100 and a device identifier 200 . Wherein, the mobile terminal 100 may scan the device identifier 200 through a specified wireless communication manner. After the mobile terminal 100 scans the device identifier 200, a communication connection can also be established with the device identifier 200 based on the specified wireless communication manner. Optionally, the specified wireless communication mode may be UWB (Ultra-wideband, ultra-wideband wireless communication mode). Correspondingly, when the wireless communication mode is UWB, the device identifier 200 may be a UWB tag.
下面将结合附图具体描述本申请的各实施例。The embodiments of the present application will be described in detail below with reference to the accompanying drawings.
请参阅图2,本申请提供的一种终端控制方法,应用于移动终端,所述方法包括:Referring to FIG. 2, a terminal control method provided by the present application is applied to a mobile terminal, and the method includes:
S110:若检测到指定的控制操作,基于指定无线通信方式进行设备标识物扫描。S110: If the specified control operation is detected, scan the device identifier based on the specified wireless communication method.
其中,在本申请实施例中,指定的控制操作可以有多种方式。Wherein, in the embodiment of the present application, the specified control operation may be in multiple manners.
作为一种方式,指定的控制操作可以为操作手势。可选的,所述指定的控制操作包括:作用于移动终端的指定位置的敲击操作。例如,该指定的控制操作可以为连续敲击两下移动终端的后盖,或者可以为连续敲击三下移动终端的后盖。再者,对于敲击的位置除了可以为后盖外,还可以为其他位置,例如,还可以为显示屏。As one approach, the designated control operation may be an operation gesture. Optionally, the specified control operation includes: a tapping operation acting on a specified position of the mobile terminal. For example, the specified control operation may be two consecutive taps on the back cover of the mobile terminal, or may be three consecutive taps on the back cover of the mobile terminal. Furthermore, the knocking position may be other positions besides the back cover, for example, the display screen.
作为另外一种方式,该指定的控制操作可以为移动终端处于指定的姿态。可选的,该指定的姿态包括左右摇动,前后摇动或者上下摇动。再者,对于前述的摇动还可以为更加细致的摇动状态,例如,指定的姿态可以包括为左右摇动指定次数、前后摇动指定次数或者上下摇动指定次数。As another way, the designated control operation may be that the mobile terminal is in a designated posture. Optionally, the specified gesture includes shaking left and right, shaking back and forth, or shaking up and down. Furthermore, the aforementioned shaking may also be a more detailed shaking state, for example, the specified posture may include a specified number of times of shaking left and right, a specified number of times of shaking back and forth, or a specified number of times of shaking up and down.
作为再一种方式,还可以通过移动终端自身的快捷工具界面来触发指定的控制操作。可选的,可以通过从屏幕的顶部朝向屏幕的底部执行滑动操作来触发显示该快捷工具界面,在该快捷工具界面中可以显示有触发控件。那么若检测到作用于该触发控件的触控操作,则可以确定有指定的控制操作触发。As a further way, the specified control operation can also be triggered through the shortcut tool interface of the mobile terminal itself. Optionally, the display of the shortcut tool interface may be triggered by performing a sliding operation from the top of the screen toward the bottom of the screen, and a trigger control may be displayed in the shortcut tool interface. Then, if a touch operation acting on the trigger control is detected, it can be determined that a specified control operation is triggered.
还有,作为又一种方式,还可以通过语音控制的方式来触发指定的控制操作。在这种方式下,可以在启动移动终端的语音助手后,若获取到指定的语音内容则可以确定有指定的控制操作触发。可选的,该指定的语音内容可以为进行设备控制,或者可以为设备扫描等。可选的,该指定的语音内容可以由用户根据自己的习惯进行设定。Also, as another method, a specified control operation can also be triggered by means of voice control. In this manner, after starting the voice assistant of the mobile terminal, if the specified voice content is acquired, it can be determined that a specified control operation is triggered. Optionally, the specified voice content may be device control, or may be device scanning or the like. Optionally, the specified voice content may be set by the user according to his own habits.
需要说明的是,对于前述的将摇动或者敲击的来作为指定的控制操作的方式中,还可能会有误操作的情况。例如,用户可能会因为其他的一些需求而对移动终端进行摇动,或者对移动终端进行敲击。那么为了改善上述误操作的情况,移动终端可以先显示一个指定的触发界面,在显示该指定的触发界面的情况下,若检测到有指定的控制操作,则才会触发基于指定无线通信方式进行设备标识物扫描。其中,该指定的触发界面可以从快捷工具栏中触发显示。示例性的,如图3所示,显示了一种指定的触发界面10,在该指定的触发界面10中还可以显示有提示信息,该提示信息的内容可以为“连续敲击两次后盖或者左右摇动触发扫描”。It should be noted that, in the aforementioned manner of using shaking or tapping as the designated control operation, there may also be misoperations. For example, the user may shake the mobile terminal or tap the mobile terminal due to other requirements. Then, in order to improve the situation of the above misoperation, the mobile terminal can first display a specified trigger interface, and in the case of displaying the specified trigger interface, if a specified control operation is detected, the mobile terminal will trigger the wireless communication based on the specified method. Device identifier scanning. The specified trigger interface can be triggered and displayed from the shortcut toolbar. Exemplarily, as shown in FIG. 3 , a specified trigger interface 10 is displayed, and prompt information may also be displayed in the specified trigger interface 10 , and the content of the prompt information may be “Tap the back cover twice in a row. Or shake left and right to trigger a scan".
在检测到指定的控制操作后,移动终端则可以开始基于指定无线通信方式进行设备标识物扫描。其中,在本实施例中,移动终端可以通过多种的方式完成对设备标识物的扫描。After detecting the specified control operation, the mobile terminal can start scanning the device identifier based on the specified wireless communication method. Wherein, in this embodiment, the mobile terminal can scan the device identifier in various ways.
作为一种方式,移动终端可以基于指定的无线通信方式对设备标识物所发送的广播信号进行扫描,若能够扫描到由设备标识物所发送的广播信号,则可以确定扫描到设备标识物。As a way, the mobile terminal can scan the broadcast signal sent by the device identifier based on the specified wireless communication method, and if the broadcast signal sent by the device identifier can be scanned, it can be determined that the device identifier has been scanned.
作为另外一种方式,移动终端可以在开始基于指定无线通信方式进行设备标识物扫描时,周期性的发送广播信号,若接收到由设备标识物响应移动终端发送的广播信号的反馈信号时,则确定扫描到设备标识物。As another way, the mobile terminal can periodically send a broadcast signal when starting to scan the device identifier based on the specified wireless communication method. Make sure the device identifier is scanned.
S120:若扫描到设备标识物,执行与扫描到的设备标识物对应的操作。S120: If a device identifier is scanned, perform an operation corresponding to the scanned device identifier.
在确定扫描到设备标识物之后,移动终端则可以获取与设备标识物所对应的操作,进而执行与扫描到的设备标识物对应的操作。其中,在本申请实施例中,移动终端也可以有多种方式来确定所扫描到的设备标识物所对应的操作。After it is determined that the device identifier is scanned, the mobile terminal can acquire the operation corresponding to the device identifier, and then execute the operation corresponding to the scanned device identifier. Wherein, in the embodiment of the present application, the mobile terminal may also determine the operation corresponding to the scanned device identifier in various ways.
作为一种方式,设备标识物在发送广播信号时,可以在广播信号中携带自身对应的身份标识,该身份标识用于唯一性的识别对应的设备标识物,即每个设备标识物所对应的身份标识是不同的。在移动终端中可以存储有设备标识物的身份标识与操作之间的对应关系,进而当移动终端通过设备标识物所发送的广播信号获取到身份标识后,则可以根据该对应关系来确定对应的操作,并执行所确定的操作。示例性的,如下表所示:As a method, when a device identifier sends a broadcast signal, it can carry its own corresponding identity identifier in the broadcast signal. The identity identifier is used to uniquely identify the corresponding device identifier, that is, the corresponding device identifier for each device identifier. Identity is different. The mobile terminal may store the corresponding relationship between the identity of the device identifier and the operation, and then when the mobile terminal obtains the identity through the broadcast signal sent by the device identifier, the corresponding relationship can be determined according to the corresponding relationship. operation, and perform the determined operation. Exemplary, as shown in the following table:
IDID 身份标识Identity 操作operate
11 D001D001 打开电筒Turn on the torch
22 D002D002 显示空调控制界面Display the air conditioning control interface
33 D003D003 显示电视控制界面Display the TV control interface
示例性的,如上表所示,若获取到的身份标识为D001,那么移动终端则会执行打开电筒的操作,若获取到的身份标识为D002,那么移动终端则会打开空调控制界面,若获取到的身份标识为D003,那么移动终端则会打开电视控制界面。Exemplarily, as shown in the table above, if the acquired identity is D001, then the mobile terminal will perform the operation of turning on the flashlight; if the acquired identity is D002, then the mobile terminal will open the air-conditioning control interface. If the ID received is D003, the mobile terminal will open the TV control interface.
作为另外一种方式,设备标识物在发送广播信号时,可以携带自身所对应的一个操作标识,该操作标识可以用于表征对应的操作,并且不同的设备标识物可以对应相同的操作标识。在移动终端中可以存储有设备标识物的操作标识与操作之间的对应关系,进而当移动终端通过设备标识物所发送的广播信号获取到操作标识后,则可以根据该对应关系来确定对应的操作,并执行所确定的操作。示例性的,如下表所示:As another way, when a device identifier sends a broadcast signal, it can carry an operation identifier corresponding to itself, and the operation identifier can be used to represent a corresponding operation, and different device identifiers can correspond to the same operation identifier. The mobile terminal may store the corresponding relationship between the operation identifier of the device identifier and the operation, and then when the mobile terminal obtains the operation identifier through the broadcast signal sent by the device identifier, the corresponding relationship can be determined according to the corresponding relationship. operation, and perform the determined operation. Exemplary, as shown in the following table:
IDID 操作标识Operation ID 操作operate
11 #flashlight##flashlight# 打开电筒Turn on the torch
22 #air_conditioning##air_conditioning# 显示空调控制界面Display the air conditioning control interface
33 #TV_conditioning##TV_conditioning# 显示电视控制界面Display the TV control interface
示例性的,如上表所示,若获取到的操作标识为#flashlight#,那么移动终端则会执行打开电筒的操作,若获取到的操作标识为#air_conditioning#,那么移动终端则会打开空调控制界面,若获取到的操作标识为#TV_conditioning#,那么移动终端则会打开电视控制界面。Exemplarily, as shown in the table above, if the acquired operation identifier is #flashlight#, then the mobile terminal will perform the operation of turning on the flashlight, and if the acquired operation identifier is #air_conditioning#, then the mobile terminal will turn on the air conditioning control. interface, if the acquired operation identifier is #TV_conditioning#, the mobile terminal will open the TV control interface.
本实施例提供的一种终端控制方法,若检测到指定的控制操作,基于指定无线通信方式进行设备标识物扫描,并且在扫描到设备标识物后,执行与扫描到的设备标识物对应的操作。从而通过上述方式使得可以将操作与设备标识物进行关联,进而在移动终端响应于指定的控制操作而扫描到某个设备标识物后,就可以自行的执行与扫描到的设备标识物所对应的操作,提升了移动终端进行功能启动的便利性。In a terminal control method provided in this embodiment, if a specified control operation is detected, a device identifier is scanned based on a specified wireless communication method, and after the device identifier is scanned, an operation corresponding to the scanned device identifier is performed. . In this way, the operation can be associated with the device identifier, and after the mobile terminal scans a device identifier in response to a specified control operation, it can automatically execute the operation corresponding to the scanned device identifier. The operation improves the convenience for the mobile terminal to start the function.
请参阅图4,本申请提供的一种终端控制方法,应用于移动终端,所述方法包括:Referring to FIG. 4, a terminal control method provided by the present application is applied to a mobile terminal, and the method includes:
S210:若检测到指定的控制操作,基于指定无线通信方式进行设备标识物扫描。S210: If the specified control operation is detected, scan the device identifier based on the specified wireless communication method.
S220:若扫描到设备标识物且扫描到的设备标识物的数量为多个,对多个扫描到的设备标识物对应的操作进行排序并展示排序结果。S220: If the device identifiers are scanned and the number of the scanned device identifiers is multiple, sort operations corresponding to the multiple scanned device identifiers and display the sorting result.
需要说明的是,在本申请实施例中,移动终端可以在与设备标识物之间具有一定距离的情况下就扫描到设备标识物,而在一些情况下,可能会有多个设备标识物的放置位置比较近,而该放置比较近的设备标识物所对应的操作又是互相不关联的。例如,放置比较近的设备标识物中有的设备标识物对应的操作为投屏到电视,有的设备标识物对应的操作为对空调进行某种控制。那么在移动终端在同时扫描到多个设备标识物的情况下,移动终端则需要进一步的确定实际是执行哪个设备标识物所对应的操作,进而移动终端可以将所扫描到的设备标识物对应的操作进行排序展示,以便用户可以从中进行选择。It should be noted that, in this embodiment of the present application, the mobile terminal may scan the device identifier when there is a certain distance between the mobile terminal and the device identifier, and in some cases, there may be multiple device identifiers. The placement position is relatively close, and the operations corresponding to the device identifiers placed relatively close are not related to each other. For example, among the device identifiers placed relatively close, the corresponding operation of some of the device identifiers is to cast the screen to the TV, and the corresponding operation of some of the device identifiers is to perform some kind of control on the air conditioner. Then, in the case that the mobile terminal scans multiple device identifiers at the same time, the mobile terminal needs to further determine which operation corresponding to the device identifier is actually performed, and then the mobile terminal can scan the device identifier corresponding to the corresponding operation. Actions are displayed in order so that the user can choose from them.
示例性的,如图5所示,若扫描到的多个设备标识物包括对应空调控制的设备标识物、对应加湿器控制的设备标识物以及对应切换为离家模式的设备标识物,那么移动终端可以在当前界面上悬浮显示排序结果界面11,并在排序结果界面11中显示排序结果,其中在排序结果中会以对应的控制目标对应的图标来代表对应的操作。例如,其中名称为空调的图标则代表对空调进行控制操作,名称为加湿器的图标则代表对加湿器进行控制操作,名称为离家模式的图标则代表切换为离家模式的操作。Exemplarily, as shown in FIG. 5 , if the scanned multiple equipment identifiers include equipment identifiers corresponding to air conditioner control, equipment identifiers corresponding to humidifier control, and equipment identifiers corresponding to switching to the home-away mode, then move The terminal may display the sorting result interface 11 on the current interface, and display the sorting result in the sorting result interface 11, wherein the corresponding operation is represented by the icon corresponding to the corresponding control target in the sorting result. For example, the icon named air conditioner represents the control operation of the air conditioner, the icon named humidifier represents the control operation of the humidifier, and the icon named away from home mode represents the operation of switching to the home away mode.
其中,在对多个扫描到的设备标识物对应的操作进行排序的过程中,还可以基于指定的规则进行排序,从而使得便于用户能够更加快速的选择到自己所需的操作。在一种方式中,用户如果希望移动终端执行某个设备标识物所对应的操作,那么则可能会拿着移动终端朝向该设备标识物并触发扫描(例如,如图1所示),进而所希望扫描到的设备标识物可能会更加接近移动终端的朝向。那么作为一种方式,所述对多个扫描到的设备标识物对应的操作进行排序并展示排序结果,包括:获取多个扫描到的设备标识物各自对应的扫描角度,所述扫描角度表征对应的设备标识物相对所述移动终端的偏离程度;基于所述扫描角度,对多个扫描到的设备标识物对应的操作进行排序并展示排序结果。Wherein, in the process of sorting the operations corresponding to the plurality of scanned device identifiers, the sorting may also be performed based on a specified rule, so that it is convenient for the user to select the desired operation more quickly. In one way, if the user wants the mobile terminal to perform an operation corresponding to a certain device identifier, he may hold the mobile terminal towards the device identifier and trigger scanning (for example, as shown in FIG. 1 ), and then the It is expected that the scanned device identifier may be closer to the orientation of the mobile terminal. Then, as a method, the sorting operations corresponding to the plurality of scanned device identifiers and displaying the sorting results include: acquiring respective scan angles corresponding to the plurality of scanned device identifiers, and the scan angles represent corresponding scan angles. The degree of deviation of the device identifiers relative to the mobile terminal; based on the scanning angle, the operations corresponding to the plurality of scanned device identifiers are sorted and the sorting results are displayed.
作为一种方式,其中的扫描角度可以理解为设备标识物与移动终端之间的连线所在方向到指定基准 方向之间的角度。在这种方式下,对应的扫描角度越小的设备标识物所对应操作的排序位置越靠前,其中,指定基准方向可以为移动终端的朝向。示例性的,如图6所示,在图6所示的场景中包括有电视机12以及空调13,其中,电视机12中对应有设备标识物201,空调13中对应有设备标识物202。并且,设备标识物除了可以如图6所示的直接配置在对应的设备上外,也可以放置在对应设备的旁边。As a way, the scanning angle can be understood as the angle between the direction where the connection line between the device identifier and the mobile terminal is located and the specified reference direction. In this manner, the smaller the corresponding scanning angle, the higher the sorting position of the operation corresponding to the device identifier, wherein the specified reference direction may be the orientation of the mobile terminal. Exemplarily, as shown in FIG. 6 , the scene shown in FIG. 6 includes a TV set 12 and an air conditioner 13 , wherein the TV set 12 corresponds to a device identifier 201 , and the air conditioner 13 corresponds to a device identifier 202 . Moreover, in addition to being directly configured on the corresponding device as shown in FIG. 6 , the device identifier can also be placed beside the corresponding device.
其中,移动终端100的朝向为虚线14所指向的方向,那么在图7所示的情况下,指定基准方向则可以为虚线14所指向的方向,那么电视机12对应的设备标识物201对应于指定基准方向之间的角度为图中所示的α,空调13对应的设备标识物202对应于指定基准方向之间的角度为图中所示的β,其中,α小于β,在这种情况下,移动终端可以确定设备标识物201的扫描角度要小于设备标识物202的扫描角度,那么在对扫描到的设备标识物对应的操作进行排序时,设备标识物201对应操作的排序位置要相对设备标识物202对应操作的排序位置更加靠前。Wherein, the orientation of the mobile terminal 100 is the direction pointed by the dotted line 14, then in the case shown in FIG. 7, the specified reference direction can be the direction pointed by the dotted line 14, then the device identifier 201 corresponding to the TV set 12 corresponds to The angle between the designated reference directions is α shown in the figure, and the angle between the device identifiers 202 corresponding to the air conditioner 13 corresponding to the designated reference directions is β shown in the figure, where α is smaller than β, in this case Then, the mobile terminal can determine that the scanning angle of the device identifier 201 is smaller than the scanning angle of the device identifier 202, then when sorting the operations corresponding to the scanned device identifiers, the sorting positions of the operations corresponding to the device identifiers 201 should be relatively The sorting position of the corresponding operation of the device identifier 202 is higher.
再例如,如图8所示,当移动终端处于图8中所示的位置时,指定基准方向则转换为其中虚线15所指向的方向,那么电视机12对应的设备标识物201对应于指定基准方向之间的角度为图中所示的i,空调13对应的设备标识物202对应于指定基准方向之间的角度为图中所示的γ,其中,γ小于i。在这种情况下,移动终端可以确定设备标识物202的扫描角度要小于设备标识物201的扫描角度,那么在对扫描到的设备标识物进行排序时,设备标识物202对应操作的排序位置要相对设备标识物201对应操作的排序位置更加靠前。For another example, as shown in FIG. 8 , when the mobile terminal is in the position shown in FIG. 8 , the designated reference direction is converted to the direction pointed by the dotted line 15 , then the device identifier 201 corresponding to the television set 12 corresponds to the designated reference direction. The angle between the directions is i shown in the figure, and the angle between the device identifier 202 corresponding to the air conditioner 13 corresponding to the specified reference direction is γ shown in the figure, where γ is smaller than i. In this case, the mobile terminal can determine that the scanning angle of the device identifier 202 is smaller than the scanning angle of the device identifier 201, then when sorting the scanned device identifiers, the sorting position of the corresponding operation of the device identifier 202 should be The sorting position of the corresponding operation relative to the device identifier 201 is higher.
再者,在另一种方式中,扫描角度可以包括水平方向角度以及竖直方向角度,在这种方式中移动终端在通过扫描角度来确定设备标识物相对移动终端的偏离程度时,可以结合水平方向角度以及竖直方向角度来共同对设备标识物相对移动终端的偏离程度进行判断,进而确定出目标标识物,并将目标标识物对应的操作作为目标操作。可选的,移动终端可以配置有水平方向角度对应的第一范围以及竖直方向角度对应的第二范围,若移动终端检测到设备标识物对应的水平方向角度在第一范围内,且对应的竖直方向角度在第二范围内时,则确定该设备标识物为有效的设备标识物,然后在有效的设备标识物有多个的情况下,再基于各自对应的水平方向角度的大小,对有效的设备标识物对应的操作进行排序,其中,水平方向角度与第一范围的中间数值的差值越小的设备标识物,那么对应的操作排序越靠前。其中第一范围的中间数值可以为第一范围的两个边界值的和除以2。例如,第一范围为水平角度范围可以是-10度~10度,那么对应的中间数值为0度。Furthermore, in another way, the scanning angle may include a horizontal direction angle and a vertical direction angle. In this way, when the mobile terminal determines the degree of deviation of the device identifier relative to the mobile terminal by the scanning angle, the horizontal direction may be combined with the scanning angle. The angle and the vertical direction angle are used to jointly judge the degree of deviation of the device marker relative to the mobile terminal, and then determine the target marker, and take the operation corresponding to the target marker as the target operation. Optionally, the mobile terminal may be configured with a first range corresponding to the horizontal direction angle and a second range corresponding to the vertical direction angle. If the mobile terminal detects that the horizontal direction angle corresponding to the device identifier is within the first range, and the corresponding When the vertical direction angle is within the second range, it is determined that the device identifier is a valid device identifier, and then in the case of multiple valid device identifiers, based on the size of the corresponding horizontal direction angle, the The operations corresponding to the valid device identifiers are sorted, wherein the smaller the difference between the horizontal direction angle and the middle value of the first range of the device identifiers, the higher the corresponding operations are sorted. The middle value of the first range may be the sum of the two boundary values of the first range divided by 2. For example, the first range is that the horizontal angle range may be -10 degrees to 10 degrees, and the corresponding intermediate value is 0 degrees.
下面再通过图9对水平方向角度和竖直方向角度进行说明,如图9所示,移动终端100可以根据设备标识物201发送的广播信号,确定移动终端100与设备标识物201之间的水平方向角度φ1,以及竖直方向角度φ2。其中,水平方向角度可以通过下列公式来计算得到,该公式为:Next, the horizontal direction angle and the vertical direction angle will be described with reference to FIG. 9 . As shown in FIG. 9 , the mobile terminal 100 can determine the horizontal angle between the mobile terminal 100 and the device identifier 201 according to the broadcast signal sent by the device identifier 201 . The direction angle φ1, and the vertical direction angle φ2. Among them, the horizontal angle can be calculated by the following formula, the formula is:
Figure PCTCN2022077057-appb-000001
Figure PCTCN2022077057-appb-000001
其中,θ表示水平方向角度,λ表示波长,Δφ表示到达相位差,d表示第一天线和第二天线之间的水平距离。其中,第一天线和第二天线为移动终端中用于接收设备标识物发送的广播信号的天线。类似的,对于竖直方向角度也可以通过上述公式计算得到,其中,在计算竖直方向角度的过程中的d表示第三天线和第四天线之间的竖直距离,其中,第三天线和第四天线也为移动终端中用于接收设备标识物发送的广播信号的天线。Among them, θ represents the horizontal direction angle, λ represents the wavelength, Δφ represents the arrival phase difference, and d represents the horizontal distance between the first antenna and the second antenna. The first antenna and the second antenna are antennas in the mobile terminal for receiving broadcast signals sent by the device identifier. Similarly, the vertical direction angle can also be calculated by the above formula, wherein d in the process of calculating the vertical direction angle represents the vertical distance between the third antenna and the fourth antenna, wherein the third antenna and the The fourth antenna is also an antenna in the mobile terminal for receiving broadcast signals sent by the device identifier.
其中,排序位置靠前可以理解为排序位置更加靠近排序开始的位置。示例性的,如图10所示,若排序为沿其中虚线箭头所示的方向排序,那么排序开始的位置为与箭头所指的相反的方向,而箭头所指的方向为排序相对靠后的方向。那么图10所示的排序结果则表征,对空调进行控制操作所对应的设备标识物的扫描角度,小于对电视进行控制操作所对应的设备标识物的扫描角度。Among them, the front sorting position can be understood as the sorting position is closer to the starting position of the sorting. Exemplarily, as shown in FIG. 10 , if the sorting is in the direction indicated by the dashed arrow, the starting position of the sorting is in the opposite direction to that indicated by the arrow, and the direction indicated by the arrow is relatively backward in the sorting. direction. Then, the sorting result shown in FIG. 10 indicates that the scanning angle of the device identifier corresponding to the control operation of the air conditioner is smaller than the scan angle of the device identifier corresponding to the control operation of the TV.
需要说明的是,移动终端对设备标识物的扫描操作可以有一定时间期限的,进而可以将在该时间期限内所扫描到的设备标识物作为扫描到的设备标识物,并在该时间期限结束后,停止进行设备标识物的扫描。再者,移动终端在显示排序结果后,用户可能还会拿着移动终端进行移动。例如,用户发现所显示的排序结果中并未出现自己所需要的操作,那么用户则可能会拿着移动终端重新开始移动,那么移动终端在显示排序结果的情况下,若检测到移动终端的指定基准方向的变化幅度大于预设幅度阈值则可以重新开始对设备标识物进行扫描,且该扫描时间依然为前述的一定时间期限,并且在重新扫描的过程中,如果扫描到的设备标识物的扫描角度发生变化,则移动终端会同步的对排序结果进行更新,进而使得用户可以通过控制移动终端进行移动的方式来触发更新排序结果,以便可以通过控制移动终端移动的方式来触发让用户所需的操作对应的设备标识物排序更加靠前,以便用户进行选取。示例性的,在图8所示的状态下,对多个扫描到的设备标识物进行排序的排序结果可以如图11所示,那么在移动终端由图8所示的状态移动到图7所示的状态后,对多个扫描到的设备标识物进行排序的排序结果可以如图10所示。It should be noted that the scanning operation of the device identifier by the mobile terminal may have a certain time limit, and then the device identifier scanned within the time limit may be used as the scanned device identifier, and the time limit expires. After that, stop scanning for device identifiers. Furthermore, after the mobile terminal displays the sorting result, the user may still hold the mobile terminal to move. For example, if the user finds that the operation he needs does not appear in the displayed sorting result, the user may start moving again with the mobile terminal. Then, when the mobile terminal displays the sorting result, if it detects the specified If the variation range of the reference direction is greater than the preset range threshold, the scanning of the device identifier can be restarted, and the scanning time is still the aforementioned certain time period, and during the rescanning process, if the scanned device If the angle changes, the mobile terminal will update the sorting result synchronously, so that the user can trigger the update of the sorting result by controlling the mobile terminal to move, so that the user can control the movement of the mobile terminal. The device identifiers corresponding to the operations are ranked higher for the user to select. Exemplarily, in the state shown in FIG. 8 , the sorting result of sorting multiple scanned device identifiers may be as shown in FIG. 11 , then the mobile terminal moves from the state shown in FIG. 8 to the state shown in FIG. 7 . After the displayed state is displayed, the sorting result of sorting the plurality of scanned device identifiers may be as shown in FIG. 10 .
S230:获取从多个扫描到的设备标识物对应的操作中确定的目标操作。S230: Acquire a target operation determined from operations corresponding to a plurality of scanned device identifiers.
需要说明的是,在显示排序结果时,所显示的可以是设备标识物所对应的控制目标物所对应的图标,那么在这种情况下,若检测到有图标被触控,进而可以将被触控的图标作为目标图标,并将目标图标所对应的设备标识物作为目标标识物。示例性,若检测到图11中的名称为“电视”的图标被触控,可以将名称为“电视”的图标作为目标图标。It should be noted that when the sorting result is displayed, the displayed icon may be the icon corresponding to the control target corresponding to the device identifier. In this case, if an icon is detected to be touched, the displayed icon may be The touched icon is used as the target icon, and the device identifier corresponding to the target icon is used as the target identifier. For example, if it is detected that the icon named "TV" in FIG. 11 is touched, the icon named "TV" can be used as the target icon.
S240:执行所述目标操作。S240: Execute the target operation.
再者,在本实施例中,在扫描到的设备标识物有多个的情况下,除了可以由用户自己来选择目标设备标识物以外,也可以由移动终端自行选择目标标识物。需要说明的是,移动终端可以在每次执行某种操作时,同时记录执行该操作时的环境参数,进而建立操作与环境参数之间的对应关系。可选的,该环境参数可以包括温度信息、时间信息、湿度信息以及移动终端中的应用程序运行信息中的至少一种。其中,温度信息表征当前的温度,湿度信息表征当前的湿度,应用程序运行信息表征当前移动终端中有哪些应用程序正在运行。Furthermore, in this embodiment, when there are multiple device identifiers scanned, in addition to the user selecting the target device identifier, the mobile terminal can also select the target identifier by himself. It should be noted that, each time the mobile terminal performs a certain operation, it can simultaneously record the environmental parameters when the operation is performed, and then establish the corresponding relationship between the operation and the environmental parameters. Optionally, the environmental parameter may include at least one of temperature information, time information, humidity information, and application running information in the mobile terminal. The temperature information represents the current temperature, the humidity information represents the current humidity, and the application running information represents which applications are currently running in the mobile terminal.
在这种情况下,若移动终端扫描到有多个设备标识,那么则可以获取该多个设备标识各自对应的操作作为参考操作,并进一步的获取各个参考操作各自在被执行时的环境参数,再用当前的环境参数与各个参考操作各自在被执行时的环境参数进行匹配,并将匹配上的参考操作所对应的设备标识物作为目标设备标识物,并且可以直接执行该匹配上的参考操作。再者,移动终端可以在显示排序结果后,开始计时。其中,若在指定的计时时间长度内,检测到排序结果有更新,那么则会重新开始计时。若在计时满足该指定的计时时间长度时,用户还未选择目标设备标识,那么则移动终端可以基于前述方式来自行根据环境参数来确定匹配上的参考操作,并执行该匹配上的参考操作。In this case, if the mobile terminal scans that there are multiple device identities, it can obtain the operations corresponding to the multiple device identities as reference operations, and further obtain the environmental parameters of each reference operation when it is executed, Then use the current environment parameters to match the environment parameters of each reference operation when it is executed, and use the device identifier corresponding to the matched reference operation as the target device identifier, and the matching reference operation can be directly executed. . Furthermore, the mobile terminal may start timing after displaying the sorting result. Among them, if it is detected that the sorting result has been updated within the specified timing time length, the timing will be restarted. If the user has not selected the target device identifier when the timing meets the specified timing length, the mobile terminal can automatically determine the matching reference operation according to the environmental parameters based on the foregoing method, and execute the matching reference operation.
示例性的,以图11中所示的排序结果为例,其中,指定的计时时间长度为3秒。那么在显示图11中所示的排序结果后,则可以开始3秒的计时,若在计时时长还未到3秒时,排序结果就相比图10中所示的结果发生改变,那么则会重新开始3秒的计时。若在计时时长达到3秒时,则会获取其中名称为电视的图标所对应的设备标识物所对应操作,以及名称为空调的图标所对应的设备标识物所对应操作作为参考操作,进而得到两个参考操作,并会再获取这两个参考操作各自对应的环境参数,并将当前的环境参数与该参考操作各自对应的环境参数进行匹配,进而得到匹配上的参考操作。Illustratively, take the sorting result shown in FIG. 11 as an example, where the specified timing time length is 3 seconds. Then after the sorting result shown in Figure 11 is displayed, the timing of 3 seconds can be started. If the sorting result is changed compared with the result shown in Figure 10 before the timing time is less than 3 seconds, then Restart the 3-second timer. If the timing reaches 3 seconds, the operation corresponding to the device identifier corresponding to the icon named TV and the operation corresponding to the device identifier corresponding to the icon named air conditioner will be obtained as reference operations, and then two A reference operation is obtained, and the corresponding environmental parameters of the two reference operations are obtained, and the current environmental parameters are matched with the corresponding environmental parameters of the reference operation, thereby obtaining the matching reference operation.
其中,在对环境参数进行匹配的过程中,可以是将环境参数所包括的具体参数进行一一匹配,若两个环境参数所包括的具体参数能够一一匹配上,则确定这两个环境参数是相互匹配的。示例性的,若环境参数包括温度信息、时间信息以及湿度信息,其中,待匹配的环境参数包括环境参数A以及环境参数B。其中,环境参数A包括温度信息a1、时间信息a2以及湿度信息a3,环境参数B包括温度信息b1、时间信息b2以及湿度信息b3,那么在将环境参数A和环境参数B进行匹配的过程中,则会一一的将环境参数A包括的温度信息a1与环境参数B包括的温度信息b1进行匹配,将环境参数A包括的时间信息a2与环境参数B包括的时间信息b2进行匹配,将环境参数A包括湿度信息a3与环境参数B包括湿度信息b3进行匹配,若其中的温度信息a1与温度信息b1能够匹配,且时间信息a2与时间信息b2能够匹配,且湿度信息a3与湿度信息b3能够匹配,则确定环境参数A和环境参数B能够匹配。Among them, in the process of matching the environmental parameters, the specific parameters included in the environmental parameters may be matched one by one, and if the specific parameters included in the two environmental parameters can be matched one by one, the two environmental parameters are determined. are matched with each other. Exemplarily, if the environmental parameters include temperature information, time information, and humidity information, the environmental parameters to be matched include environmental parameters A and B. Among them, environmental parameter A includes temperature information a1, time information a2 and humidity information a3, and environmental parameter B includes temperature information b1, time information b2 and humidity information b3, then in the process of matching environmental parameter A and environmental parameter B, Then, one by one, the temperature information a1 included in the environmental parameter A is matched with the temperature information b1 included in the environmental parameter B, the time information a2 included in the environmental parameter A is matched with the time information b2 included in the environmental parameter B, and the environmental parameter A includes humidity information a3 and environmental parameter B includes humidity information b3 to match, if the temperature information a1 and the temperature information b1 can be matched, the time information a2 and the time information b2 can be matched, and the humidity information a3 and the humidity information b3 can be matched , then it is determined that the environmental parameter A and the environmental parameter B can match.
可选的,环境参数所具体包括的信息之间的匹配可以理解为信息相同,或者信息之间的误差在指定的误差范围内。例如,其中的时间信息b2为16点整,时间信息a2为16点整,那么这里的时间信息b2和时间信息a2是相同的,则可以确定时间信息a2和时间信息b2是相同的,进而会确定时间信息a2和时间信息b2匹配。再例如,对于时间信息对应的指定误差范围为1分钟,那么若时间信息b2为16点整,而时间信息a2为16点零30秒,那么则也可以确定时间信息a2和时间信息b2是匹配的。Optionally, the matching between the information specifically included in the environmental parameter may be understood as the same information, or the error between the information is within a specified error range. For example, the time information b2 is at 16:00 and the time information a2 is at 16:00, then the time information b2 and the time information a2 here are the same, it can be determined that the time information a2 and the time information b2 are the same, and then the It is determined that the time information a2 and the time information b2 match. For another example, if the specified error range corresponding to the time information is 1 minute, then if the time information b2 is 16:00, and the time information a2 is 16:30, then it can also be determined that the time information a2 and the time information b2 are matched. of.
需要说明的是,若环境参数中所包括的具体信息的数量越多,两个环境参数相互匹配的难度也就越大。那么为了尽可能的能够自动的执行一个操作,移动终端可以给环境参数所包括的具体信息进行优先级排序,以便可以根据每次的匹配结果逐次降低环境参数中所包括的信息的数量。其中,可以在每次减少信息时,将当前剩余的信息中对应的优先级最低的信息进行减少。示例性的,环境参数当前所包括的信息有信息i1、信息i2、信息i3以及信息i4。其中,信息i1对应的优先级高于信息i2对应的优先级,信息i2对应的优先级高于信息i3对应的优先级,信息i3对应的优先级高于信息i4对应的优先级。那么在首先基于信息i1、信息i2、信息i3以及信息i4进行环境参数的匹配发现,匹配失败的情况下,则可以将环境参数更新为仅包括信息i1、信息i2以及信息i3。It should be noted that, if the quantity of specific information included in the environmental parameters is greater, the difficulty of matching the two environmental parameters with each other will be greater. Then, in order to automatically perform an operation as much as possible, the mobile terminal can prioritize the specific information included in the environment parameter, so that the quantity of information included in the environment parameter can be successively reduced according to each matching result. Wherein, each time the information is reduced, the information corresponding to the lowest priority among the currently remaining information may be reduced. Exemplarily, the information currently included in the environment parameter includes information i1, information i2, information i3 and information i4. The priority corresponding to the information i1 is higher than the priority corresponding to the information i2, the priority corresponding to the information i2 is higher than the priority corresponding to the information i3, and the priority corresponding to the information i3 is higher than the priority corresponding to the information i4. Then, firstly, based on the information i1, the information i2, the information i3 and the information i4, the environmental parameters are found to be matched and found, and if the matching fails, the environmental parameters can be updated to include only the information i1, the information i2 and the information i3.
本实施例提供的一种终端控制方法,从而通过上述方式使得可以将操作与设备标识物进行关联,进而在移动终端响应于指定的控制操作而扫描到某个设备标识物后,就可以自行的执行与扫描到的设备标识物所对应的操作,提升了移动终端进行功能启动的便利性。并且,在本实施例中,对于扫描到多个设备标识物的情况下,还可以对扫描到的多个设备标识物进行排序,并且是可以根据所扫描到的设备标识物相对移动终端的方位进行排序,有利于用户可以快速的确定自己实际要触发的操作。This embodiment provides a terminal control method, so that the operation can be associated with a device identifier in the above manner, and after the mobile terminal scans a certain device identifier in response to a specified control operation, it can automatically Executing the operation corresponding to the scanned device identifier improves the convenience of the mobile terminal to start the function. In addition, in this embodiment, when multiple device identifiers are scanned, the multiple scanned device identifiers can also be sorted, and the position of the scanned device identifiers relative to the mobile terminal can be determined according to the orientation of the mobile terminal. Sorting is helpful for users to quickly determine the operation that they actually want to trigger.
请参阅图12,本申请提供的一种终端控制方法,应用于移动终端,所述方法包括:Please refer to FIG. 12 , a terminal control method provided by the present application is applied to a mobile terminal, and the method includes:
S310:若检测到指定的控制操作,基于指定无线通信方式进行设备标识物扫描。S310: If the specified control operation is detected, scan the device identifier based on the specified wireless communication method.
S320:若扫描到设备标识物且扫描到的设备标识物的数量为多个,获取多个扫描到的设备标识物各自对应的操作标识,以得到多个操作标识。S320: If the device identifiers are scanned and the number of the scanned device identifiers is multiple, obtain operation identifiers corresponding to each of the multiple scanned device identifiers to obtain multiple operation identifiers.
其中,操作标识为用于表征所对应操作的标识,操作标识可以由数字和字母组成,且该操作标识可以由设备标识物的身份标识,也可以为身份标识以外的其他字符。The operation identifier is an identifier used to represent the corresponding operation, and the operation identifier can be composed of numbers and letters, and the operation identifier can be the identifier of the device identifier, or other characters other than the identifier.
S330:执行与所述多个操作标识对应的操作。S330: Execute operations corresponding to the multiple operation identifiers.
作为一种方式,在本申请实施例中,除了可以由单个的设备标识物对应一种操作外,也可以由多个设备标识物共同来对应于一种操作,以便让移动终端不仅可以根据扫描到的设备标识物而自动化的进行操作执行,还可以进行更为精细化以及个性化的操作。可以理解的是,对于移动终端所具体执行的一些操作,可能还会有更为具体的操作参数。例如,移动终端所执行的操作为打开电筒,那么对于打开电筒这个操作可以对应的操作参数为电筒亮度或者灯光颜色。再例如,移动终端所执行的操作可以为启动空调,那么对于启动空调这个操作所具有的操作参数可以包括空调启动后的工作模式以及工作温度等。那么在这种方式中,除了可以有一个设备标识物来对应具体所需要执行的操作外,还可以由更多的其他设备标识物来表征具体的操作参数。As a way, in this embodiment of the present application, in addition to a single device identifier corresponding to an operation, a plurality of device identifiers can also be used to correspond to an operation, so that the mobile terminal can not only The received device identifiers are automatically executed, and more refined and personalized operations can also be performed. It can be understood that, for some operations specifically performed by the mobile terminal, there may be more specific operation parameters. For example, if the operation performed by the mobile terminal is to turn on the flashlight, the operation parameter corresponding to the operation of turning on the flashlight may be the brightness of the flashlight or the color of the light. For another example, the operation performed by the mobile terminal may be to start the air conditioner, and the operation parameters for the operation of starting the air conditioner may include the working mode and the working temperature after the air conditioner is started. In this way, in addition to one device identifier corresponding to the specific operation to be performed, more other device identifiers can also be used to represent specific operation parameters.
可选的,在这种方式中,在对设备标识物进行绑定的过程中,可以对所绑定的设备标识物所对应的作用进行区分,若当前所绑定的设备标识物对应的是某个操作,那么则会触发显示绑定操作界面,进而将当前所对应的设备标识物与某个操作进行对应,那么在完成对某个设备标识物对应的操作进行绑定后,可以进一步响应用户的选择而进入操作参数绑定界面,移动终端在显示操作参数绑定界面后,可以进一步的对还未绑定的设备标识物进行操作参数的绑定。Optionally, in this way, in the process of binding the device identifier, the functions corresponding to the bound device identifier can be distinguished. If the currently bound device identifier corresponds to a certain operation, then it will trigger the display of the binding operation interface, and then correspond the current corresponding device identifier to a certain operation, then after completing the binding of the operation corresponding to a certain device identifier, you can further respond The user selects to enter the operation parameter binding interface. After displaying the operation parameter binding interface, the mobile terminal can further bind the operation parameters to the unbound device identifiers.
例如,若移动终端扫描到还未绑定的设备标识物,那么则可以显示图13所示的绑定操作界面,若检测到有作用于图13中所示的名称为开始绑定的控件后,移动终端则可以切换为显示图14中所示的操作选择界面18,在操作选择界面18中可以显示有当前所能选择的绑定的操作,例如其中的控制智能设备、执行智能场景以及极速投屏。其中,控制智能设备可以为移动终端控制智能设备的启动或者处于指定的状态,例如,待机状态。执行智能场景可以为触发对应的智能场景启动。例如,配置的智能场景包括家庭影院场景,该家庭影院场景包括电视打开、窗帘关闭以及照明设备关闭。For example, if the mobile terminal scans a device identifier that has not yet been bound, it can display the binding operation interface shown in FIG. 13 . , the mobile terminal can be switched to display the operation selection interface 18 shown in FIG. 14 . The operation selection interface 18 can display currently selectable bound operations, such as controlling smart devices, executing smart scenarios, and speeding screencast. Wherein, the control of the smart device may be for the mobile terminal to control the startup of the smart device or to be in a specified state, for example, a standby state. Executing a smart scenario can be initiated for triggering the corresponding smart scenario. For example, a configured smart scene includes a home theater scene that includes the TV on, the curtains closed, and the lighting off.
以极速投屏为例,若移动终端检测到用户选择了图14中的极速投屏,那么移动终端则可以切换显示到图15中所示的投屏目标的选择界面19中。若用户选择了其中的智能电视R1,则移动终端可以切换到显示图16中所示的智能电视R1对应的配置界面20(图中未示出界面的具体内容)。在配置界面20中显示有名称为完成的控件以及名称为参数绑定的控件,若检测到名称为完成的控件被触控,则移动终端会结束对设备标识物的绑定,若检测到名称为参数绑定的控件被触控,则移动终端会切换到显示绑定参数的界面。示例性的,如图17所示,对于极速投屏这个操作对应的操作参数可以有音量以及清晰度,其中,音量表征电视在播放投屏的音视频数据的音量,清晰度则表征移动终端在输出投屏画面时的清晰度。那么移动终端在开始显示图17中左侧图像时,会重新开始设标识物的扫描,并且在扫描过程中可以显示内容为“正在扫描新的设备标识物”的提示信息,若扫描到未进行绑定的设备标识物则可以显示内容为“已扫描到空白设备标识物,请选择音量”的提示信息,在用户完成音量的选择后,若检测到点击了图17中左侧图像中名称为完成的控件,那么则会结束配置操作,若检测到的是点击了名称为下一项的控件,那么移动终端可以显示下一项参数配置的界面,例如,图17中右侧图像所示的清晰度的配置界面。经过图16和图17中所示的绑定操作后,则需要通过三个设备标识物来共同实现一种较为精细化的投屏操作。例如,用户选择的音量为10,清晰度为超清,那么移动终端在扫描到该三个设备标识物后,不仅可以执行投屏到智能电视R1的操作,还可以在投屏的同时设置智能电视R1的音视频播放音量为10,以及移动终端会以超清的格式来传输画面到智能电视R1。Taking the fast screen projection as an example, if the mobile terminal detects that the user has selected the fast screen projection in FIG. 14 , the mobile terminal can switch to display the screen projection target selection interface 19 shown in FIG. 15 . If the user selects the smart TV R1, the mobile terminal can switch to display the configuration interface 20 corresponding to the smart TV R1 shown in FIG. 16 (the specific content of the interface is not shown in the figure). In the configuration interface 20, a control named Complete and a control named Parameter Binding are displayed. If it is detected that the control named Complete is touched, the mobile terminal will end the binding of the device identifier. When the control bound for the parameter is touched, the mobile terminal will switch to the interface displaying the bound parameter. Exemplarily, as shown in FIG. 17 , the operation parameters corresponding to the operation of fast screen projection may include volume and clarity, wherein the volume represents the volume of the audio and video data being played by the TV, and the clarity indicates that the mobile terminal is The sharpness of the projected screen when outputting. Then, when the mobile terminal starts to display the image on the left in Figure 17, it will restart the scanning of the set marker, and during the scanning process, a prompt message with the content of "scanning a new device marker" can be displayed. The bound device identifier can display the prompt message "Blank device identifier has been scanned, please select volume". If the control is completed, the configuration operation will be ended. If it is detected that the control with the name of the next item is clicked, the mobile terminal can display the interface for the configuration of the next parameter, for example, as shown in the image on the right in Figure 17 Clear configuration interface. After the binding operation shown in FIG. 16 and FIG. 17 , a more refined screen projection operation needs to be implemented jointly by three device identifiers. For example, if the volume selected by the user is 10 and the resolution is ultra-clear, after scanning the three device identifiers, the mobile terminal can not only perform the operation of projecting the screen to the smart TV R1, but also set the smart TV while projecting the screen. The audio and video playback volume of the TV R1 is 10, and the mobile terminal will transmit the picture to the smart TV R1 in an ultra-clear format.
本实施例提供的一种终端控制方法,从而通过上述方式使得可以将操作与设备标识物进行关联,进而在移动终端响应于指定的控制操作而扫描到某个设备标识物后,就可以自行的执行与扫描到的设备标识物所对应的操作,提升了移动终端进行功能启动的便利性。并且,在本实施例中,还可以通过多个设备标识物来共同标识一种操作,进而使得移动终端可以通过扫描设备标识物的方式来更加精细化的执行某种操作。This embodiment provides a terminal control method, so that the operation can be associated with a device identifier in the above manner, and after the mobile terminal scans a certain device identifier in response to a specified control operation, it can automatically Executing the operation corresponding to the scanned device identifier improves the convenience of the mobile terminal to start the function. Moreover, in this embodiment, an operation can also be jointly identified by multiple device identifiers, so that the mobile terminal can perform a certain operation in a more refined manner by scanning the device identifiers.
请参阅图18,本申请提供的一种终端控制方法,应用于移动终端,所述方法包括:Please refer to FIG. 18 , a terminal control method provided by the present application is applied to a mobile terminal, and the method includes:
S410:若检测到指定的控制操作,基于指定无线通信方式进行设备标识物扫描。S410: If the specified control operation is detected, scan the device identifier based on the specified wireless communication method.
S420:若扫描到设备标识物,检测扫描到的设备标识物是否绑定有对应的操作。S420: If a device identifier is scanned, detect whether the scanned device identifier is bound with a corresponding operation.
作为一种方式,移动终端可以在本地对设备标识物所对应的操作进行存储。可选的,可以通过数据表的方式来存储设备标识物与操作之间的对应关系。那么移动终端在扫描到设备标识物之后,可以先在存储对应关系的数据表中查询是否有所扫描到的设备标识物,若未查询到有扫描到的设备标识物,那么则表征移动终端还未建立关于该设备标识物的操作,进而可以显示绑定操作界面。若扫 描到有该设备标识物,则确定移动终端已经对该设备标识物进行过绑定,那么则可以进一步的获取具体所对应的操作。As a way, the mobile terminal can locally store the operation corresponding to the device identifier. Optionally, the correspondence between the device identifier and the operation may be stored in the form of a data table. Then, after scanning the device identifier, the mobile terminal can first check whether there is a scanned device identifier in the data table storing the corresponding relationship. If no scanned device identifier is found, it means that the mobile terminal still has The operation on the device identifier is not established, so that the binding operation interface can be displayed. If the device identifier is scanned, it is determined that the mobile terminal has bound the device identifier, and the specific corresponding operation can be further obtained.
S430:若所述扫描到的设备标识物绑定有对应的操作,执行与扫描到的设备标识物对应的操作。S430: If the scanned device identifier is bound with a corresponding operation, perform an operation corresponding to the scanned device identifier.
S440:若所述扫描到的设备标识物未绑定有对应的操作,显示绑定操作界面。S440: If the scanned device identifier is not bound with a corresponding operation, display a binding operation interface.
本实施例提供的一种终端控制方法,从而通过上述方式使得可以将操作与设备标识物进行关联,进而在移动终端响应于指定的控制操作而扫描到某个设备标识物后,就可以自行的执行与扫描到的设备标识物所对应的操作,提升了移动终端进行功能启动的便利性。并且,在本实施例中,移动终端会先对扫描到的设备标识物是否绑定有对应的操作进行检测,若检测到没有绑定对应的设备标识物则会直接显示绑定操作界面,从而使得可以更加灵活快速的实现设备标识物的绑定操作。This embodiment provides a terminal control method, so that the operation can be associated with a device identifier in the above manner, and after the mobile terminal scans a certain device identifier in response to a specified control operation, it can automatically Executing the operation corresponding to the scanned device identifier improves the convenience of the mobile terminal to start the function. Moreover, in this embodiment, the mobile terminal will first detect whether the scanned device identifier is bound with a corresponding operation, and if it is detected that the corresponding device identifier is not bound, it will directly display the binding operation interface, thereby This makes it possible to realize the binding operation of the device identifier more flexibly and quickly.
请参阅图19,本申请提供的一种终端控制方法,应用于控制模组,所述方法包括:Please refer to FIG. 19 , a terminal control method provided by this application is applied to a control module, and the method includes:
S510:进行设备标识物扫描。S510: Scan the device identifier.
S520:若扫描到设备标识物,获取所述扫描到的设备标识物对应的操作标识。S520: If a device identifier is scanned, obtain an operation identifier corresponding to the scanned device identifier.
S530:向移动终端发送所述操作标识,以用于所述移动终端执行与所述操作标识对应的操作。S530: Send the operation identifier to the mobile terminal, so that the mobile terminal performs an operation corresponding to the operation identifier.
作为一种方式,所述控制模组设置于所述移动终端的保护壳中;所述向移动终端发送所述操作标识,包括:通过无线通信的方式,向移动终端发送所述操作标识。该无线通信的方式可以为蓝牙通信。As one way, the control module is arranged in the protective shell of the mobile terminal; the sending the operation identifier to the mobile terminal includes: sending the operation identifier to the mobile terminal by means of wireless communication. The wireless communication mode may be Bluetooth communication.
作为另外一种方式,控制模组可以与移动终端本身的接口建立有线连接以实现通信。例如,在移动终端具有USB接口的情况下,控制模组可以与USB接口进行连接来实现与移动终端的通信。As another way, the control module can establish a wired connection with the interface of the mobile terminal itself to realize communication. For example, in the case that the mobile terminal has a USB interface, the control module can be connected with the USB interface to realize communication with the mobile terminal.
本实施例提供的一种终端控制方法,从而通过上述方式使得可以将操作与设备标识物进行关联,进而在控制模组响应于指定的控制操作而扫描到某个设备标识物后,就可以触发移动终端自行的执行与扫描到的设备标识物所对应的操作,提升了移动终端进行功能启动的便利性。并且,本实施例提供的控制模组可以使得移动终端本身不具备进行设备标识物扫描功能的情况下,依然可以实现基于设备标识物的扫描来触发执行对应操作。This embodiment provides a terminal control method, so that the operation can be associated with a device identifier in the above-mentioned manner, and after the control module scans a certain device identifier in response to a specified control operation, it can trigger the The mobile terminal performs the operation corresponding to the scanned device identifier by itself, which improves the convenience for the mobile terminal to start the function. Moreover, the control module provided in this embodiment can enable the mobile terminal itself to trigger the execution of the corresponding operation based on the scanning of the device identifier even if the mobile terminal itself does not have the function of scanning the device identifier.
请参阅图20,本申请提供的一种终端控制装置600,运行于移动终端,所述装置600包括:Please refer to FIG. 20 , a terminal control apparatus 600 provided by the present application operates on a mobile terminal, and the apparatus 600 includes:
设备标识物扫描单元610,用于若检测到指定的控制操作,基于指定无线通信方式进行设备标识物扫描。The device identifier scanning unit 610 is configured to scan the device identifier based on the specified wireless communication method if a specified control operation is detected.
作为一种方式,设备标识物扫描单元610,具体用于在检测到显示指定的触发界面的情况下,若检测到指定的控制操作,触发基于所述指定无线通信方式进行设备标识物扫描。In one way, the device identifier scanning unit 610 is specifically configured to trigger device identifier scanning based on the specified wireless communication method if a specified control operation is detected when a specified trigger interface is detected to be displayed.
作为一种方式,设备标识物扫描单元610,具体用于基于所述指定无线通信方式对所述设备标识物所发送的广播信号进行扫描,若扫描到由所述设备标识物所发送的广播信号,确定扫描到所述设备标识物。As a method, the device identifier scanning unit 610 is specifically configured to scan the broadcast signal sent by the device identifier based on the specified wireless communication method, if the broadcast signal sent by the device identifier is scanned , confirm that the device identifier is scanned.
作为一种方式,设备标识物扫描单元610,具体用于在开始基于所述指定无线通信方式进行设备标识物扫描时,周期性的发送广播信号;若接收到由所述设备标识物响应所述广播信号的反馈信号时,确定扫描到所述设备标识物。As a method, the device identifier scanning unit 610 is specifically configured to periodically send a broadcast signal when starting to scan the device identifier based on the specified wireless communication method; When the feedback signal of the broadcast signal is broadcast, it is determined that the device identifier is scanned.
终端控制单元620,用于若扫描到设备标识物,执行与扫描到的设备标识物对应的操作。The terminal control unit 620 is configured to perform an operation corresponding to the scanned device identifier if the device identifier is scanned.
作为一种方式,所述指定的控制操作包括:作用于移动终端的指定位置的敲击操作。In one way, the designated control operation includes: a tapping operation acting on a designated position of the mobile terminal.
作为一种方式,终端控制单元620,具体用于若扫描到设备标识物且扫描到的设备标识物的数量为多个,对多个扫描到的设备标识物对应的操作进行排序并展示排序结果;获取从多个扫描到的设备标识物对应的操作中确定的目标操作;执行所述目标操作。As a method, the terminal control unit 620 is specifically configured to sort the operations corresponding to the plurality of scanned device identifiers and display the sorting result if the device identifiers are scanned and the number of the scanned device identifiers is multiple. ; Acquire a target operation determined from operations corresponding to the plurality of scanned device identifiers; and execute the target operation.
可选的,终端控制单元620,具体用于获取多个扫描到的设备标识物各自对应的扫描角度,所述扫描角度表征对应的设备标识物相对所述移动终端的偏离程度;基于所述扫描角度,对多个扫描到的设备标识物对应的操作进行排序并展示排序结果,其中,对应的扫描角度越小的设备标识物所对应操作的排序位置越靠前。Optionally, the terminal control unit 620 is specifically configured to acquire respective scanning angles corresponding to a plurality of scanned device identifiers, where the scan angles represent the degree of deviation of the corresponding device identifiers relative to the mobile terminal; based on the scanning The operations corresponding to the plurality of scanned device identifiers are sorted and the sorting results are displayed, wherein, the smaller the corresponding scanning angle, the higher the sorting position of the operations corresponding to the device identifiers.
作为一种方式,终端控制单元620,具体用于执行与扫描到的设备标识物对应的操作之前还包括:检测扫描到的设备标识物是否绑定有对应的操作。若所述扫描到的设备标识物绑定有对应的操作,执行与扫描到的设备标识物对应的操作;若所述扫描到的设备标识物未绑定有对应的操作,显示绑定操作界面。In one way, before the terminal control unit 620 is specifically configured to perform the operation corresponding to the scanned device identifier, the method further includes: detecting whether the scanned device identifier is bound with a corresponding operation. If the scanned device identifier is bound with a corresponding operation, execute the operation corresponding to the scanned device identifier; if the scanned device identifier is not bound with a corresponding operation, display the binding operation interface .
其中,对应的所述扫描角度越小的设备标识物所对应操作的排序位置越靠前,其中,所述扫描角度为所述设备标识物与所述移动终端之间的连线所在方向到指定基准方向之间的角度,所述指定基准方向为所述移动终端的朝向。Wherein, the smaller the scanning angle is, the higher the sorting position of the corresponding operation of the device identifier is, wherein the scanning angle is the direction from the direction of the connection between the device identifier and the mobile terminal to the designated position. The angle between reference directions, where the specified reference direction is the orientation of the mobile terminal.
作为一种方式,终端控制单元620,具体用于若检测到所述指定基准方向的变化幅度大于预设幅度阈值,则重新开始对设备标识物进行扫描;若在扫描时间内扫描到的设备标识物的扫描角度发生变化,对所述排序结果进行更新。As a way, the terminal control unit 620 is specifically configured to restart the scanning of the device identifier if it is detected that the variation range of the specified reference direction is greater than the preset range threshold; if the device identifier scanned within the scanning time When the scanning angle of the object changes, the sorting result is updated.
作为一种方式,终端控制单元620,具体用于若检测到设备标识物对应的水平方向角度在所述第一范围内,且对应的竖直方向角度在所述第二范围内,确定所述设备标识物为有效的设备标识物;若 扫描到的有效的设备标识物的数量为多个,基于多个所述有效的设备标识物各自对应的水平方向角度的大小,对多个所述有效的设备标识物对应的操作进行排序,其中,水平方向角度与所述第一范围的中间数值的差值越小的所述有效的设备标识物对应的操作排序越靠前。As an approach, the terminal control unit 620 is specifically configured to determine the The device identifier is a valid device identifier; if the number of scanned valid device identifiers is multiple, based on the size of the horizontal angle corresponding to each of the multiple valid device identifiers, the The operations corresponding to the device identifiers are sorted, wherein the smaller the difference between the horizontal direction angle and the middle value of the first range is, the higher the operations corresponding to the valid device identifiers are.
本实施例提供的一种终端控制装置,若检测到指定的控制操作,基于指定无线通信方式进行设备标识物扫描,并且在扫描到设备标识物后,执行与扫描到的设备标识物对应的操作。从而通过上述方式使得可以将操作与设备标识物进行关联,进而在移动终端响应于指定的控制操作而扫描到某个设备标识物后,就可以自行的执行与扫描到的设备标识物所对应的操作,提升了移动终端进行功能启动的便利性。A terminal control apparatus provided in this embodiment, if a specified control operation is detected, scans a device identifier based on a specified wireless communication method, and after scanning the device identifier, executes an operation corresponding to the scanned device identifier . In this way, the operation can be associated with the device identifier, and after the mobile terminal scans a device identifier in response to a specified control operation, it can automatically execute the operation corresponding to the scanned device identifier. The operation improves the convenience for the mobile terminal to start the function.
请参阅图21,本申请提供的一种终端控制装置700,运行于控制模组,所述装置700包括:Please refer to FIG. 21 , a terminal control device 700 provided by the present application operates in a control module, and the device 700 includes:
设备标识物扫描单元710,用于进行设备标识物扫描。The device identifier scanning unit 710 is used for scanning device identifiers.
信息获取单元720,用于若扫描到设备标识物,获取所述扫描到的设备标识物对应的操作标识。The information acquisition unit 720 is configured to acquire the operation identifier corresponding to the scanned device identifier if the device identifier is scanned.
终端控制单元730,用于向移动终端发送所述操作标识,以用于所述移动终端执行与所述操作标识对应的操作。The terminal control unit 730 is configured to send the operation identifier to the mobile terminal, so that the mobile terminal can perform an operation corresponding to the operation identifier.
作为一种方式,所述控制模组设置于所述移动终端的保护壳中;所述终端控制单元730,具体用于通过无线通信的方式,向移动终端发送所述操作标识。In one way, the control module is arranged in the protective shell of the mobile terminal; the terminal control unit 730 is specifically configured to send the operation identifier to the mobile terminal by means of wireless communication.
其中,所述控制模组与所述移动终端本身的接口建立有线连接。Wherein, the control module establishes a wired connection with the interface of the mobile terminal itself.
本实施例提供的一种终端控制装置,从而通过上述方式使得可以将操作与设备标识物进行关联,进而在控制模组响应于指定的控制操作而扫描到某个设备标识物后,就可以触发移动终端自行的执行与扫描到的设备标识物所对应的操作,提升了移动终端进行功能启动的便利性。并且,本实施例提供的控制模组可以使得移动终端本身不具备进行设备标识物扫描功能的情况下,依然可以实现基于设备标识物的扫描来触发执行对应操作。This embodiment provides a terminal control apparatus, so that the operation can be associated with a device identifier in the above manner, and then after the control module scans a certain device identifier in response to a specified control operation, it can trigger the The mobile terminal performs the operation corresponding to the scanned device identifier by itself, which improves the convenience for the mobile terminal to start the function. Moreover, the control module provided in this embodiment can enable the mobile terminal itself to trigger the execution of the corresponding operation based on the scanning of the device identifier even if the mobile terminal itself does not have the function of scanning the device identifier.
需要说明的是,本申请中装置实施例与前述方法实施例是相互对应的,装置实施例中各个单元的具体实施原理与前述方法实施例中的原理是相似的,装置实施例中的具体内容可以参见方法实施例,而在装置实施例中不再赘述。It should be noted that the apparatus embodiments in the present application correspond to the foregoing method embodiments, and the specific implementation principles of each unit in the apparatus embodiments are similar to those in the foregoing method embodiments, and the specific content of the apparatus embodiments Reference may be made to the method embodiments, and details are not repeated in the apparatus embodiments.
下面将结合图22对本申请提供的一种移动终端进行说明。A mobile terminal provided by the present application will be described below with reference to FIG. 22 .
请参阅图22,基于上述的文本处理方法、装置,本申请实施例还提供的另一种可以执行前述文本处理方法的移动终端200。移动终端200包括相互耦合的一个或多个(图中仅示出一个)处理器102、存储器104以及网络模块106。其中,该存储器104中存储有可以执行前述实施例中内容的程序,而处理器102可以执行该存储器104中存储的程序。Referring to FIG. 22 , based on the above-mentioned text processing method and apparatus, another mobile terminal 200 that can execute the above-mentioned text processing method is further provided by the embodiments of the present application. The mobile terminal 200 includes one or more (only one shown in the figure) a processor 102, a memory 104, and a network module 106 coupled to each other. Wherein, the memory 104 stores a program that can execute the content in the foregoing embodiments, and the processor 102 can execute the program stored in the memory 104 .
其中,处理器102可以包括一个或者多个用于处理数据的核。处理器102利用各种接口和线路连接整个移动终端200内的各个部分,通过运行或执行存储在存储器104内的指令、程序、代码集或指令集,以及调用存储在存储器104内的数据,执行移动终端200的各种功能和处理数据。可选地,处理器102可以采用数字信号处理(Digital Signal Processing,DSP)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、可编程逻辑阵列(Programmable Logic Array,PLA)中的至少一种硬件形式来实现。处理器102可集成中央处理器(Central Processing Unit,CPU)、图像处理器(Graphics Processing Unit,GPU)和调制解调器等中的一种或几种的组合。其中,CPU主要处理操作系统、用户界面和应用程序等;GPU用于负责显示内容的渲染和绘制;调制解调器用于处理无线通信。可以理解的是,上述调制解调器也可以不集成到处理器102中,单独通过一块通信芯片进行实现。The processor 102 may include one or more cores for processing data. The processor 102 uses various interfaces and lines to connect various parts in the entire mobile terminal 200, and executes by running or executing the instructions, programs, code sets or instruction sets stored in the memory 104, and calling the data stored in the memory 104. Various functions of the mobile terminal 200 and processing data. Optionally, the processor 102 may adopt at least one of digital signal processing (Digital Signal Processing, DSP), field-programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). A hardware form is implemented. The processor 102 may integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU), a modem, and the like. Among them, the CPU mainly handles the operating system, user interface and application programs, etc.; the GPU is used for rendering and drawing of the display content; the modem is used to handle wireless communication. It can be understood that, the above-mentioned modem may not be integrated into the processor 102, and is implemented by a communication chip alone.
存储器104可以包括随机存储器(Random Access Memory,RAM),也可以包括只读存储器(Read-Only Memory,ROM)。存储器104可用于存储指令、程序、代码、代码集或指令集。存储器104可包括存储程序区和存储数据区,其中,存储程序区可存储用于实现操作系统的指令、用于实现至少一个功能的指令(比如触控功能、声音播放功能、图像播放功能等)、用于实现下述各个方法实施例的指令等。例如,存储器104中可以存储有终端控制的装置。该终端控制的装置可以为前述的装置600,也可以为前述的装置700。存储数据区还可以存储终端100在使用中所创建的数据(比如电话本、音视频数据、聊天记录数据)等。The memory 104 may include a random access memory (Random Access Memory, RAM), or may include a read-only memory (Read-Only Memory, ROM). Memory 104 may be used to store instructions, programs, codes, sets of codes, or sets of instructions. The memory 104 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing the operating system, instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.) , instructions for implementing the following method embodiments, and the like. For example, the device controlled by the terminal may be stored in the memory 104 . The apparatus controlled by the terminal may be the aforementioned apparatus 600 or the aforementioned apparatus 700 . The storage data area may also store data created by the terminal 100 during use (such as phone book, audio and video data, chat record data) and the like.
所述网络模块106用于接收以及发送电磁波,实现电磁波与电信号的相互转换,从而与通讯网络或者其他设备进行通讯,例如和音频播放设备进行通讯。所述网络模块106可包括各种现有的用于执行这些功能的电路元件,例如,天线、射频收发器、数字信号处理器、加密/解密芯片、用户身份模块(SIM)卡、存储器等等。所述网络模块106可与各种网络如互联网、企业内部网、无线网络进行通讯或者通过无线网络与其他设备进行通讯。上述的无线网络可包括蜂窝式电话网、无线局域网或者城域网。例如,网络模块106可以与基站进行信息交互。可选的,网络模块106可以为UBM模块。The network module 106 is used for receiving and sending electromagnetic waves, realizing mutual conversion between electromagnetic waves and electrical signals, so as to communicate with a communication network or other devices, for example, communicate with an audio playback device. The network module 106 may include various existing circuit elements for performing these functions, eg, antennas, radio frequency transceivers, digital signal processors, encryption/decryption chips, subscriber identity module (SIM) cards, memory, etc. . The network module 106 can communicate with various networks such as the Internet, an intranet, a wireless network, or communicate with other devices through a wireless network. The aforementioned wireless network may include a cellular telephone network, a wireless local area network, or a metropolitan area network. For example, the network module 106 may interact with the base station for information. Optionally, the network module 106 may be a UBM module.
请参考图23,其示出了本申请实施例提供的一种计算机可读存储介质的结构框图。该计算机可读存储介质1100中存储有程序代码,所述程序代码可被处理器调用执行上述方法实施例中所描述的方法。Please refer to FIG. 23 , which shows a structural block diagram of a computer-readable storage medium provided by an embodiment of the present application. The computer-readable storage medium 1100 stores program codes, and the program codes can be invoked by the processor to execute the methods described in the above method embodiments.
计算机可读存储介质1100可以是诸如闪存、EEPROM(电可擦除可编程只读存储器)、EPROM、硬 盘或者ROM之类的电子存储器。可选地,计算机可读存储介质1100包括非易失性计算机可读介质(non-transitory computer-readable storage medium)。计算机可读存储介质1100具有执行上述方法中的任何方法步骤的程序代码1110的存储空间。这些程序代码可以从一个或者多个计算机程序产品中读出或者写入到这一个或者多个计算机程序产品中。程序代码1110可以例如以适当形式进行压缩。The computer readable storage medium 1100 may be an electronic memory such as flash memory, EEPROM (Electrically Erasable Programmable Read Only Memory), EPROM, hard disk, or ROM. Optionally, the computer-readable storage medium 1100 includes a non-transitory computer-readable storage medium. The computer-readable storage medium 1100 has storage space for program code 1110 that performs any of the method steps in the above-described methods. These program codes can be read from or written to one or more computer program products. Program code 1110 may be compressed, for example, in a suitable form.
综上所述,本申请提供的一种终端控制方法、装置、控制模组、移动终端及存储介质,若检测到指定的控制操作,基于指定无线通信方式进行设备标识物扫描,并且在扫描到设备标识物后,执行与扫描到的设备标识物对应的操作。从而通过上述方式使得可以将操作与设备标识物进行关联,进而在移动终端响应于指定的控制操作而扫描到某个设备标识物后,就可以自行的执行与扫描到的设备标识物所对应的操作,提升了移动终端进行功能启动的便利性。并且,在本申请中所采集的无线通信方式可以为UWB,进而使得用户可以不受距离限制,即不用将移动终端非常靠近设备标识物,就可以在一定范围内(例如,1米甚至更远)通过移动终端进行一定的指向性操作就可以实现触发移动终端执行对应的操作。To sum up, in a terminal control method, device, control module, mobile terminal and storage medium provided by this application, if a specified control operation is detected, the device identifier is scanned based on the specified wireless communication method, and when the scanned After the device identifier is identified, the operation corresponding to the scanned device identifier is performed. In this way, the operation can be associated with the device identifier, and after the mobile terminal scans a device identifier in response to a specified control operation, it can automatically execute the operation corresponding to the scanned device identifier. The operation improves the convenience for the mobile terminal to start the function. Moreover, the wireless communication method collected in this application can be UWB, so that the user is not limited by distance, that is, without placing the mobile terminal very close to the device identifier, it can be within a certain range (for example, 1 meter or even further away). ) The mobile terminal can be triggered to perform a corresponding operation by performing a certain directional operation on the mobile terminal.
在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本申请的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不必须针对的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任一个或多个实施例或示例中以合适的方式结合。此外,在不相互矛盾的情况下,本领域的技术人员可以将本说明书中描述的不同实施例或示例以及不同实施例或示例的特征进行结合和组合。In the description of this specification, description with reference to the terms "one embodiment," "some embodiments," "example," "specific example," or "some examples", etc., mean specific features described in connection with the embodiment or example , structure, material or feature is included in at least one embodiment or example of the present application. In this specification, schematic representations of the above terms are not necessarily directed to the same embodiment or example. Furthermore, the particular features, structures, materials or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, those skilled in the art may combine and combine the different embodiments or examples described in this specification, as well as the features of the different embodiments or examples, without conflicting each other.
此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。在本申请的描述中,“多个”的含义是至少两个,例如两个,三个等,除非另有明确具体的限定。In addition, the terms "first" and "second" are only used for descriptive purposes, and should not be construed as indicating or implying relative importance or implying the number of indicated technical features. Thus, a feature delimited with "first", "second" may expressly or implicitly include at least one of that feature. In the description of the present application, "plurality" means at least two, such as two, three, etc., unless expressly and specifically defined otherwise.
流程图中或在此以其他方式描述的任何过程或方法描述可以被理解为,表示包括一个或更多个用于实现特定逻辑功能或过程的步骤的可执行指令的代码的模块、片段或部分,并且本申请的优选实施方式的范围包括另外的实现,其中可以不按所示出或讨论的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序,来执行功能,这应被本申请的实施例所属技术领域的技术人员所理解。Any description of a process or method in the flowcharts or otherwise described herein may be understood to represent a module, segment or portion of code comprising one or more executable instructions for implementing a specified logical function or step of the process , and the scope of the preferred embodiments of the present application includes alternative implementations in which the functions may be performed out of the order shown or discussed, including performing the functions substantially concurrently or in the reverse order depending upon the functions involved, which should It is understood by those skilled in the art to which the embodiments of the present application belong.
在流程图中表示或在此以其他方式描述的逻辑和/或步骤,例如,可以被认为是用于实现逻辑功能的可执行指令的定序列表,可以具体实现在任何计算机可读介质中,以供指令执行系统、装置或设备(如基于计算机的系统、包括处理器的系统或其他可以从指令执行系统、装置或设备取指令并执行指令的系统)使用,或结合这些指令执行系统、装置或设备而使用。The logic and/or steps represented in flowcharts or otherwise described herein, for example, may be considered an ordered listing of executable instructions for implementing the logical functions, may be embodied in any computer-readable medium, For use with, or in conjunction with, an instruction execution system, apparatus, or device (such as a computer-based system, a system including a processor, or other system that can fetch instructions from and execute instructions from an instruction execution system, apparatus, or apparatus) or equipment.
应当理解,本申请的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或固件来实现。例如,如果用硬件来实现,和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(PGA),现场可编程门阵列(FPGA)等。It should be understood that various parts of this application may be implemented in hardware, software, firmware, or a combination thereof. In the above-described embodiments, various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented by any one or a combination of the following techniques known in the art: Discrete logic circuits, application specific integrated circuits with suitable combinational logic gates, Programmable Gate Arrays (PGA), Field Programmable Gate Arrays (FPGA), etc.
最后应说明的是:以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征图进行等同替换;而这些修改或者替换,并不驱使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, but not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand: it can still be Modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements to some of the technical feature diagrams; and these modifications or replacements do not drive the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions in the embodiments of the present application .

Claims (20)

  1. 一种终端控制方法,其中,应用于移动终端,所述方法包括:A terminal control method, wherein, applied to a mobile terminal, the method includes:
    若检测到指定的控制操作,基于指定无线通信方式进行设备标识物扫描;If the specified control operation is detected, scan the device identifier based on the specified wireless communication method;
    若扫描到设备标识物,执行与扫描到的设备标识物对应的操作。If a device identifier is scanned, the operation corresponding to the scanned device identifier is performed.
  2. 根据权利要求1所述的方法,其中,所述指定的控制操作包括:作用于移动终端的指定位置的敲击操作。The method according to claim 1, wherein the designated control operation comprises: a tapping operation acting on a designated position of the mobile terminal.
  3. 根据权利要求1所述的方法,其中,所述若扫描到设备标识物,执行与扫描到的设备标识物对应的操作,包括:The method according to claim 1, wherein, if the device identifier is scanned, performing an operation corresponding to the scanned device identifier, comprising:
    若扫描到设备标识物且扫描到的设备标识物的数量为多个,对多个扫描到的设备标识物对应的操作进行排序并展示排序结果;If device identifiers are scanned and the number of scanned device identifiers is multiple, sort the operations corresponding to the multiple scanned device identifiers and display the sorting results;
    获取从多个扫描到的设备标识物对应的操作中确定的目标操作;Obtain target operations determined from operations corresponding to multiple scanned device identifiers;
    执行所述目标操作。Perform the target operation.
  4. 根据权利要求3所述的方法,其中,所述对多个扫描到的设备标识物对应的操作进行排序并展示排序结果,包括:The method according to claim 3, wherein said sorting operations corresponding to a plurality of scanned device identifiers and displaying sorting results, comprising:
    获取多个扫描到的设备标识物各自对应的扫描角度,所述扫描角度表征对应的设备标识物相对所述移动终端的偏离程度;acquiring respective scanning angles corresponding to a plurality of scanned device identifiers, where the scanning angles represent the degree of deviation of the corresponding device identifiers from the mobile terminal;
    基于所述扫描角度,对多个扫描到的设备标识物对应的操作进行排序并展示排序结果。Based on the scanning angle, the operations corresponding to the plurality of scanned device identifiers are sorted and the sorting result is displayed.
  5. 根据权利要求4所述的方法,其中,对应的所述扫描角度越小的设备标识物所对应操作的排序位置越靠前,其中,所述扫描角度为所述设备标识物与所述移动终端之间的连线所在方向到指定基准方向之间的角度,所述指定基准方向为所述移动终端的朝向。The method according to claim 4, wherein the corresponding operation of the device identifier with the smaller the scanning angle is, the higher the sorting position, wherein the scanning angle is the device identifier and the mobile terminal. The angle between the direction where the connecting line between them is located and the specified reference direction, where the specified reference direction is the orientation of the mobile terminal.
  6. 根据权利要求5所述的方法,其中,所述方法还包括:The method of claim 5, wherein the method further comprises:
    若检测到所述指定基准方向的变化幅度大于预设幅度阈值,则重新开始对设备标识物进行扫描;If it is detected that the variation range of the specified reference direction is greater than the preset range threshold, restart the scanning of the device identifier;
    若在扫描时间内扫描到的设备标识物的扫描角度发生变化,对所述排序结果进行更新。If the scanning angle of the device identifiers scanned within the scanning time changes, the sorting result is updated.
  7. 根据权利要求4所述的方法,其中,所述扫描角度包括水平方向角度以及竖直方向角度,所述移动终端配置有水平方向角度对应的第一范围以及竖直方向角度的第二范围;所述基于所述扫描角度,对多个扫描到的设备标识物对应的操作进行排序并展示排序结果,包括:The method according to claim 4, wherein the scanning angle includes a horizontal direction angle and a vertical direction angle, and the mobile terminal is configured with a first range corresponding to the horizontal direction angle and a second range of the vertical direction angle; the Based on the scanning angle, the operations corresponding to the plurality of scanned device identifiers are sorted and the sorting results are displayed, including:
    若检测到设备标识物对应的水平方向角度在所述第一范围内,且对应的竖直方向角度在所述第二范围内,确定所述设备标识物为有效的设备标识物;If it is detected that the horizontal direction angle corresponding to the device identifier is within the first range, and the corresponding vertical direction angle is within the second range, it is determined that the device identifier is a valid device identifier;
    若扫描到的有效的设备标识物的数量为多个,基于多个所述有效的设备标识物各自对应的水平方向角度的大小,对多个所述有效的设备标识物对应的操作进行排序,其中,水平方向角度与所述第一范围的中间数值的差值越小的所述有效的设备标识物对应的操作排序越靠前。If the number of scanned valid device identifiers is multiple, the operations corresponding to the multiple valid device identifiers are sorted based on the size of the horizontal angle corresponding to each of the multiple valid device identifiers. Wherein, the smaller the difference between the horizontal angle and the middle value of the first range, the higher the order of operations corresponding to the valid device identifiers.
  8. 根据权利要求1-7任一所述的方法,其中,所述若扫描到设备标识物, 执行与扫描到的设备标识物对应的操作,包括:The method according to any one of claims 1-7, wherein, if the device identifier is scanned, performing an operation corresponding to the scanned device identifier, comprising:
    若扫描到设备标识物且扫描到的设备标识物的数量为多个,获取多个扫描到的设备标识物各自对应的操作标识,以得到多个操作标识;If device identifiers are scanned and the number of scanned device identifiers is multiple, obtain operation identifiers corresponding to the multiple scanned device identifiers to obtain multiple operation identifiers;
    执行与所述多个操作标识对应的操作。An operation corresponding to the plurality of operation identifiers is performed.
  9. 根据权利要求1-8任一所述的方法,其中,所述执行与扫描到的设备标识物对应的操作之前还包括:The method according to any one of claims 1-8, wherein before performing the operation corresponding to the scanned device identifier, the method further comprises:
    检测扫描到的设备标识物是否绑定有对应的操作;Detect whether the scanned device identifier is bound with a corresponding operation;
    若所述扫描到的设备标识物绑定有对应的操作,执行与扫描到的设备标识物对应的操作;If the scanned device identifier is bound with a corresponding operation, execute the operation corresponding to the scanned device identifier;
    若所述扫描到的设备标识物未绑定有对应的操作,显示绑定操作界面。If the scanned device identifier is not bound with a corresponding operation, a binding operation interface is displayed.
  10. 根据权利要求1-8任一所述的方法,其中,所述若检测到指定的控制操作,基于指定无线通信方式进行设备标识物扫描,包括:The method according to any one of claims 1-8, wherein, if the specified control operation is detected, scanning the device identifier based on the specified wireless communication method comprises:
    在检测到显示指定的触发界面的情况下,若检测到指定的控制操作,触发基于所述指定无线通信方式进行设备标识物扫描。When it is detected that the specified trigger interface is displayed, if the specified control operation is detected, the device identifier scanning based on the specified wireless communication method is triggered.
  11. 根据权利要求1-10任一所述的方法,其中,所述若扫描到设备标识物,执行与扫描到的设备标识物对应的操作之前还包括:The method according to any one of claims 1-10, wherein, if the device identifier is scanned, before performing the operation corresponding to the scanned device identifier, the method further comprises:
    基于所述指定无线通信方式对所述设备标识物所发送的广播信号进行扫描,若扫描到由所述设备标识物所发送的广播信号,确定扫描到所述设备标识物。The broadcast signal sent by the device identifier is scanned based on the specified wireless communication method, and if the broadcast signal sent by the device identifier is scanned, it is determined that the device identifier is scanned.
  12. 根据权利要求1-10任一所述的方法,其中,所述若扫描到设备标识物,执行与扫描到的设备标识物对应的操作之前还包括:The method according to any one of claims 1-10, wherein, if the device identifier is scanned, before performing the operation corresponding to the scanned device identifier, the method further comprises:
    在开始基于所述指定无线通信方式进行设备标识物扫描时,周期性的发送广播信号;When starting to scan the device identifier based on the specified wireless communication method, periodically send a broadcast signal;
    若接收到由所述设备标识物响应所述广播信号的反馈信号时,确定扫描到所述设备标识物。If a feedback signal from the device identifier in response to the broadcast signal is received, it is determined that the device identifier is scanned.
  13. 根据权利要求1-12任一所述的方法,其中,所述指定无线通信方式包括:超宽带无线通信方式。The method according to any one of claims 1-12, wherein the designated wireless communication method comprises: an ultra-wideband wireless communication method.
  14. 一种终端控制方法,其中,应用于控制模组,所述方法包括:A terminal control method, wherein, applied to a control module, the method comprises:
    进行设备标识物扫描;Scanning device identifiers;
    若扫描到设备标识物,获取所述扫描到的设备标识物对应的操作标识;If a device identifier is scanned, obtain the operation identifier corresponding to the scanned device identifier;
    向移动终端发送所述操作标识,以用于所述移动终端执行与所述操作标识对应的操作。The operation identifier is sent to the mobile terminal for the mobile terminal to perform an operation corresponding to the operation identifier.
  15. 根据权利要求14所述的方法,其中,所述控制模组设置于所述移动终端的保护壳中;所述向移动终端发送所述操作标识,包括:The method according to claim 14, wherein the control module is arranged in a protective shell of the mobile terminal; the sending the operation identifier to the mobile terminal comprises:
    通过无线通信的方式,向移动终端发送所述操作标识。The operation identifier is sent to the mobile terminal by means of wireless communication.
  16. 根据权利要求14或15所述的方法,其中,所述控制模组与所述移动终端本身的接口建立有线连接。The method according to claim 14 or 15, wherein the control module establishes a wired connection with the interface of the mobile terminal itself.
  17. 一种终端控制装置,其中,运行于移动终端,所述装置包括:A terminal control device, wherein, running on a mobile terminal, the device includes:
    设备标识物扫描单元,用于若检测到指定的控制操作,基于指定无线通信方式进行设备标识物扫描;a device identifier scanning unit, configured to scan the device identifier based on a designated wireless communication method if a specified control operation is detected;
    终端控制单元,用于若扫描到设备标识物,执行与扫描到的设备标识物对应的操作。The terminal control unit is configured to perform an operation corresponding to the scanned device identifier if the device identifier is scanned.
  18. 一种终端控制装置,其中,运行于控制模组,所述装置包括:A terminal control device, wherein, running on a control module, the device includes:
    设备标识物扫描单元,用于进行设备标识物扫描;A device identifier scanning unit for scanning device identifiers;
    信息获取单元,用于若扫描到设备标识物,获取所述扫描到的设备标识物对应的操作标识;an information acquisition unit, configured to acquire an operation identifier corresponding to the scanned device identifier if the device identifier is scanned;
    终端控制单元,用于向移动终端发送所述操作标识,以用于所述移动终端执行与所述操作标识对应的操作。A terminal control unit, configured to send the operation identifier to a mobile terminal, so that the mobile terminal can perform an operation corresponding to the operation identifier.
  19. 一种移动终端,其中,包括一个或多个处理器以及存储器;A mobile terminal, including one or more processors and a memory;
    一个或多个程序被存储在所述存储器中并被配置为由所述一个或多个处理器执行,所述一个或多个程序配置用于执行权利要求1-16任一所述的方法。One or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs being configured to perform the method of any of claims 1-16.
  20. 一种存储有处理器可执行的程序代码的计算机可读存储介质,其中,所述计算机可读存储介质包括存储的程序代码,其中,在所述程序代码运行时执行权利要求1-16任一所述的方法。A computer-readable storage medium storing program code executable by a processor, wherein the computer-readable storage medium includes stored program code, wherein when the program code is executed, any one of claims 1-16 is executed the method described.
PCT/CN2022/077057 2021-03-15 2022-02-21 Terminal control method and apparatus, control module, mobile terminal and storage medium WO2022193907A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110275861.0 2021-03-15
CN202110275861.0A CN113038450B (en) 2021-03-15 2021-03-15 Terminal control method, device, control module and mobile terminal

Publications (1)

Publication Number Publication Date
WO2022193907A1 true WO2022193907A1 (en) 2022-09-22

Family

ID=76468768

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/077057 WO2022193907A1 (en) 2021-03-15 2022-02-21 Terminal control method and apparatus, control module, mobile terminal and storage medium

Country Status (2)

Country Link
CN (1) CN113038450B (en)
WO (1) WO2022193907A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113038450B (en) * 2021-03-15 2023-08-18 Oppo广东移动通信有限公司 Terminal control method, device, control module and mobile terminal

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120131131A1 (en) * 2010-11-18 2012-05-24 Samsung Electronics Co. Ltd. Sharing of mobile code information
CN104796539A (en) * 2015-03-28 2015-07-22 深圳市金立通信设备有限公司 Terminal state control method
CN108810861A (en) * 2018-05-28 2018-11-13 北京小米移动软件有限公司 Connection method, device and the storage medium of smart machine
CN110049476A (en) * 2019-04-22 2019-07-23 深圳绿米联创科技有限公司 Method, apparatus, mobile terminal and the storage medium of equipment push
CN111970672A (en) * 2020-08-31 2020-11-20 Oppo广东移动通信有限公司 Searching and positioning method and device, electronic equipment and storage medium
CN113038450A (en) * 2021-03-15 2021-06-25 Oppo广东移动通信有限公司 Terminal control method, device, control module and mobile terminal

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3143474B1 (en) * 2014-05-15 2020-10-07 Federal Express Corporation Wearable devices for courier processing and methods of use thereof
CN105159115B (en) * 2015-08-31 2019-07-23 小米科技有限责任公司 Smart machine control method and device
CN105404167A (en) * 2015-09-30 2016-03-16 北京清川科技有限公司 Cloud platform, two dimension-based intelligent household electrical appliance control system and method
CN106484270A (en) * 2016-09-12 2017-03-08 深圳市金立通信设备有限公司 A kind of voice operating event adding method and terminal
WO2018098941A1 (en) * 2016-11-30 2018-06-07 华为技术有限公司 Processing method for communication identifier binding and terminal
US10264517B2 (en) * 2017-02-17 2019-04-16 At&T Mobility Ii Llc Optimization for priority-based network identifier scans
CN109428911A (en) * 2017-08-24 2019-03-05 阿里巴巴集团控股有限公司 Apparatus control method, device, terminal device and operating system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120131131A1 (en) * 2010-11-18 2012-05-24 Samsung Electronics Co. Ltd. Sharing of mobile code information
CN104796539A (en) * 2015-03-28 2015-07-22 深圳市金立通信设备有限公司 Terminal state control method
CN108810861A (en) * 2018-05-28 2018-11-13 北京小米移动软件有限公司 Connection method, device and the storage medium of smart machine
CN110049476A (en) * 2019-04-22 2019-07-23 深圳绿米联创科技有限公司 Method, apparatus, mobile terminal and the storage medium of equipment push
CN111970672A (en) * 2020-08-31 2020-11-20 Oppo广东移动通信有限公司 Searching and positioning method and device, electronic equipment and storage medium
CN113038450A (en) * 2021-03-15 2021-06-25 Oppo广东移动通信有限公司 Terminal control method, device, control module and mobile terminal

Also Published As

Publication number Publication date
CN113038450B (en) 2023-08-18
CN113038450A (en) 2021-06-25

Similar Documents

Publication Publication Date Title
KR101736318B1 (en) Method, apparatus, program, and recording medium for controlling smart device
US10110678B2 (en) System and method for data communication based on image processing
CN105607499B (en) Device packets method and device
CN104540184B (en) Equipment networking method and device
WO2017008399A1 (en) Smart device control method, terminal, and server
CN111683275B (en) Screen projection method, screen projection system and computer equipment
CN104394263A (en) Accessing point list displaying method and device
US20130132859A1 (en) Method and electronic device for collaborative editing by plurality of mobile devices
CN105281994B (en) Working mode switching method and device
US10757185B2 (en) Method for peer-to-peer multimedia data sharing, electronic device and non-volatile computer readable medium
CN105809695A (en) Terminal searching method and device based on wearable device
JP2010074782A (en) Mobile apparatus and execution control method
TW201407485A (en) Device for operating module identification information
JP2005065118A (en) Mobile terminal with remote control function and remote control server
US20160202948A1 (en) Causation of stylistic mimicry on a companion apparatus
WO2022193907A1 (en) Terminal control method and apparatus, control module, mobile terminal and storage medium
WO2018059552A1 (en) Screen display control method, device and mobile terminal, and computer storage medium
CN105491632A (en) Wireless access point switching method and wireless access point switching device
CN106488140B (en) A kind of setting method and mobile terminal of camera acquisition parameter
US20150194126A1 (en) Display apparatus, mobile apparatus, system and setting controlling method for connection thereof
US20190052745A1 (en) Method For Presenting An Interface Of A Remote Controller In A Mobile Device
JP6451625B2 (en) Communication terminal and communication method
CN105307226A (en) Method, device and system for selecting signal source
WO2022100314A1 (en) Iot device control method, apparatus, control system, and terminal device
WO2022100344A1 (en) Positioning and communication method, terminal, communication device, and storage medium

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: 22770262

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 22770262

Country of ref document: EP

Kind code of ref document: A1