CN113452583B - Account switching method and system, storage medium and processing device - Google Patents

Account switching method and system, storage medium and processing device Download PDF

Info

Publication number
CN113452583B
CN113452583B CN202010220227.2A CN202010220227A CN113452583B CN 113452583 B CN113452583 B CN 113452583B CN 202010220227 A CN202010220227 A CN 202010220227A CN 113452583 B CN113452583 B CN 113452583B
Authority
CN
China
Prior art keywords
account
signal
target
signals
switching
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010220227.2A
Other languages
Chinese (zh)
Other versions
CN113452583A (en
Inventor
李岳冰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN202010220227.2A priority Critical patent/CN113452583B/en
Publication of CN113452583A publication Critical patent/CN113452583A/en
Application granted granted Critical
Publication of CN113452583B publication Critical patent/CN113452583B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/2807Exchanging configuration information on appliance services in a home automation network
    • 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
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities

Abstract

The application discloses an account switching method and system, a storage medium and processing equipment. Wherein the method comprises the following steps: receiving signals sent by at least one first device; determining a target device of the at least one first device based on the at least one signal; and switching the account currently bound by the second device into a target account corresponding to the target device. The method and the device solve the technical problems that in the related art, the intelligent device can only bind one account, and the account switching process is complicated.

Description

Account switching method and system, storage medium and processing device
Technical Field
The application relates to the field of intelligent sound boxes, in particular to an account switching method and system, a storage medium and processing equipment.
Background
In a home application scenario, different intelligent devices can provide different services for family members, for example, a user can watch a video through an intelligent television, set an alarm clock through an intelligent sound box, listen to songs and the like. Each family member has own account, and the account is associated with own preferences, habits, alarm clocks, calls and the like, and the needs of different family members are different, for example, the elderly like listening to a drama, children like listening to a baby song, young people like listening to popular music, in order to meet the needs of different family members, the intelligent device needs to switch different accounts for different family members.
However, at present, the intelligent device can only bind one account, if the account needs to be switched, the mobile phone is required to be unbound and then the network is required to be re-allocated, the whole process is very complicated, and the manual frequency switching can not be performed.
In view of the above problems, no effective solution has been proposed at present.
Disclosure of Invention
The embodiment of the application provides an account switching method and system, a storage medium and processing equipment, and aims to at least solve the technical problems that intelligent equipment in the related technology can only bind one account and the account switching process is complicated.
According to an aspect of the embodiments of the present application, there is provided an account switching method, including: receiving signals sent by at least one first device; determining a target device of the at least one first device based on the at least one signal; and switching the account currently bound by the second device into a target account corresponding to the target device.
According to another aspect of the embodiments of the present application, there is also provided an account switching method, including: displaying an account currently bound by the second device in the interactive interface; and displaying the newly bound target account of the second device in the interactive interface, wherein the target account is an account corresponding to the target device in the at least one first device, and the target device is determined based on the received signal sent by the at least one first device.
According to another aspect of the embodiments of the present application, there is also provided an account switching system, including: at least one first device for transmitting signals; and the second equipment is in communication connection with the at least one first equipment and is used for determining target equipment in the at least one first equipment based on the received at least one signal and switching the currently bound account into a target account corresponding to the target equipment.
According to another aspect of the embodiments of the present application, there is further provided a storage medium, where the storage medium includes a stored program, and when the program runs, the device where the storage medium is controlled to execute the account switching method described above.
According to another aspect of the embodiments of the present application, there is also provided a processing apparatus including: the system comprises a memory and a processor, wherein the processor is used for running a program stored in the memory, and the account switching method is executed when the program runs.
According to another aspect of the embodiments of the present application, there is also provided an account switching system, including: a processor; and a memory, coupled to the processor, for providing instructions to the processor for processing the steps of: receiving signals sent by at least one first device; determining a target device of the at least one first device based on the at least one signal; and switching the account currently bound by the second device into a target account corresponding to the target device.
In the embodiment of the application, after receiving the signal sent by the at least one first device, the target device in the at least one first device may be determined based on the received multiple signals, and the account currently bound by the second device may be switched to the target account corresponding to the target device, so as to achieve the purpose of automatic account switching. It is easy to notice that under the condition of user authorization, the intelligent device can automatically switch accounts based on the received signals without manual switching of users, so that the requirements of different users are met, the technical effect of user operation is simplified, and the technical problems that the intelligent device can only bind one account in the related technology, the account switching process is complicated, and personal information of the users is acquired are solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiments of the application and together with the description serve to explain the application and do not constitute an undue limitation to the application. In the drawings:
FIG. 1 is a block diagram of the hardware architecture of a computer terminal for implementing an account switching method according to an embodiment of the present application;
FIG. 2 is a flow chart of an account switching method according to an embodiment of the present application;
fig. 3a is a schematic diagram of a home application scenario in which two family members are in different rooms according to an embodiment of the present application;
fig. 3b is a schematic diagram of a home application scenario in which two family members are in the same room according to an embodiment of the present application;
FIG. 4a is a schematic diagram of a home application scenario including one member according to an embodiment of the present application;
FIG. 4b is a schematic diagram of another home application scenario including a member according to an embodiment of the present application;
FIG. 5 is a flow chart of another account switching method according to an embodiment of the present application;
FIG. 6 is a schematic diagram of an interactive interface of a smart speaker according to an embodiment of the present application;
FIG. 7 is a schematic diagram of an account switching apparatus according to an embodiment of the present application;
FIG. 8 is a schematic diagram of another account switching apparatus according to an embodiment of the present application;
FIG. 9 is a schematic diagram of an account switching system including a plurality of first devices according to an embodiment of the present application;
FIG. 10 is a schematic diagram of an account switching system including a first device according to an embodiment of the present application; and
fig. 11 is a block diagram of a computer terminal according to an embodiment of the present application.
Detailed Description
In order to make the present application solution better understood by those skilled in the art, the following description will be made in detail and with reference to the accompanying drawings in the embodiments of the present application, it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, shall fall within the scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of the present application and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that embodiments of the present application described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
First, partial terms or terminology appearing in describing embodiments of the present application are applicable to the following explanation:
intelligent sound box: the intelligent home equipment can be a tool for users to surf the internet by voice, and can also be used for controlling the intelligent home equipment.
Wearable device: a portable device that may be worn directly on the body or integrated into the clothing or accessories of the user. The wearable device is not only a hardware device, but also can realize a powerful function through software support, data interaction and cloud interaction.
RRSI: a received signal strength indicator Received Signal Strength Indicator.
Example 1
In accordance with the embodiments of the present application, an embodiment of an account switching method is provided, it being noted that the steps illustrated in the flowcharts of the figures may be performed in a computer system, such as a set of computer executable instructions, and, although a logical order is illustrated in the flowcharts, in some cases, the steps illustrated or described may be performed in an order other than that illustrated herein.
The method embodiments provided by the embodiments of the present application may be implemented in a smart speaker, a mobile terminal, a computer terminal, or similar computing device. Fig. 1 shows a block diagram of a hardware architecture of a computer terminal (or mobile device) for implementing an account switching method. As shown in fig. 1, the computer terminal 10 (or mobile device 10) may include one or more (shown as 102a, 102b, … …,102 n) processors 102 (the processors 102 may include, but are not limited to, a microprocessor MCU, a programmable logic device FPGA, etc. processing means), a memory 104 for storing data, and a transmission means 106 for communication functions. In addition, the method may further include: a display, an input/output interface (I/O interface), a Universal Serial BUS (USB) port (which may be included as one of the ports of the BUS), a network interface, a power supply, and/or a camera. It will be appreciated by those of ordinary skill in the art that the configuration shown in fig. 1 is merely illustrative and is not intended to limit the configuration of the electronic device described above. For example, the computer terminal 10 may also include more or fewer components than shown in FIG. 1, or have a different configuration than shown in FIG. 1.
It should be noted that the one or more processors 102 and/or other data processing circuits described above may be referred to generally herein as "data processing circuits. The data processing circuit may be embodied in whole or in part in software, hardware, firmware, or any other combination. Furthermore, the data processing circuitry may be a single stand-alone processing module, or incorporated, in whole or in part, into any of the other elements in the computer terminal 10 (or mobile device). As referred to in the embodiments of the present application, the data processing circuit acts as a processor control (e.g., selection of the path of the variable resistor termination to interface).
The memory 104 may be used to store software programs and modules of application software, such as program instructions/data storage devices corresponding to the account switching method in the embodiments of the present application, and the processor 102 executes the software programs and modules stored in the memory 104, thereby executing various functional applications and data processing, that is, implementing the account switching method described above. Memory 104 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory located remotely from the processor 102, which may be connected to the computer terminal 10 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission means 106 is arranged to receive or transmit data via a network. The specific examples of the network described above may include a wireless network provided by a communication provider of the computer terminal 10. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, NIC) that can connect to other network devices through a base station to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module for communicating with the internet wirelessly.
The display may be, for example, a touch screen type Liquid Crystal Display (LCD) that may enable a user to interact with a user interface of the computer terminal 10 (or mobile device).
It should be noted here that, in some alternative embodiments, the computer device (or mobile device) shown in fig. 1 described above may include hardware elements (including circuitry), software elements (including computer code stored on a computer-readable medium), or a combination of both hardware and software elements. It should be noted that fig. 1 is only one example of a specific example, and is intended to illustrate the types of components that may be present in the computer device (or mobile device) described above.
It should be noted herein that in some embodiments, the computer device (or mobile device) shown in FIG. 1 described above has a touch display (also referred to as a "touch screen" or "touch display"). In some embodiments, the computer device (or mobile device) shown in fig. 1 above has a Graphical User Interface (GUI) with which a user may interact with by touching finger contacts and/or gestures on a touch-sensitive surface, where the human-machine interaction functionality optionally includes the following interactions: executable instructions for performing the above-described human-machine interaction functions, such as creating web pages, drawing, word processing, making electronic documents, games, video conferencing, instant messaging, sending and receiving electronic mail, talking interfaces, playing digital video, playing digital music, and/or web browsing, are configured/stored in a computer program product or readable storage medium executable by one or more processors.
In the above-described operating environment, the present application provides an account switching method as shown in fig. 2. Fig. 2 is a flowchart of an account switching method according to an embodiment of the present application. As shown in fig. 2, the method comprises the steps of:
step S202, receiving signals sent by at least one first device;
In the above steps, the first device may be a wearable device, or may be a mobile terminal, for example, a smart phone, a tablet computer, a palm computer, or the like, but is not limited thereto. The device performing the above steps may be a second device, and the second device may be a smart device for providing services to an account, such as a smart speaker, a smart tv, or the like, but is not limited thereto.
For example, a wearable device and a smart speaker in a home application scenario are described as an example. There may be one or more family member's wearable device broadcast at the same time, so the smart speakers may receive signals sent by one or more wearable devices. Wherein each wearable device represents a family member using the device, and each family member has an account. The intelligent sound box can determine the number of family members according to the number of the received signals.
For another example, consider a wearable device and a smart speaker in an office environment application scenario. There may be one or more corporate staff's wearable device broadcast at the same time, so the smart speakers may receive signals sent by one or more wearable devices. Wherein each wearable device represents a corporate employee using the device, and each corporate employee has an account. The intelligent sound box can determine the number of staff members of a company according to the number of received signals.
The above-mentioned signal may be a sound signal or a wireless communication signal, but is not limited thereto. In an alternative embodiment, the smart speaker may identify the user by voiceprint recognition, at which time the user may make a sound according to the prompt, and the wearable device may send the sound signal to the smart speaker after it collects the sound signal, and the smart speaker performs authentication. Thus, the smart speaker may receive the sound signal. In another alternative embodiment, the smart speaker and the wearable device may be connected through a wireless communication protocol, such as, but not limited to, bluetooth low energy (BLE, bluetooth Low Energy), WIFI, and the like. Therefore, the intelligent sound box can receive the wireless communication signal sent by the wearable device, and the wearable device can send a signal to the intelligent sound box in a broadcasting mode.
It should be noted that, in order to avoid that the normal use of the second device is affected by frequent account switching, the second device may be initialized in advance, and a time interval for the second device to receive the signal may be set, so that the second device may receive the signal sent by the first device at the time interval.
Step S204 of determining a target device of the at least one first device based on the at least one signal;
For example, still illustrated as a wearable device and a smart speaker in a home application scenario, the smart speaker may receive signals sent by one or more wearable devices. However, the smart speakers and the plurality of wearable devices are not typically in one room, e.g., a smart speaker located in a living room may receive not only signals transmitted by the wearable devices in the living room, but also signals transmitted by the wearable devices in an adjacent room.
For another example, the wearable device and the smart speaker in the office environment application scenario are still described as an example. The smart speakers may receive signals sent by one or more wearable devices. However, the smart speakers and the plurality of wearable devices may be located in different locations in the same room, or may be located in different rooms.
For the case of receiving a signal sent by a single wearable device, the smart speaker can determine that a user using the device needs to use the service provided by the smart speaker, so the device can be used as a target device, and account switching can be performed.
For the case of receiving signals sent by multiple wearable devices, because multiple users may not be in one room, not every user needs to use the service provided by the smart speaker, for example, in a home application scenario, for a smart speaker located in a living room, typically a family member in the living room needs to use the service provided by it, while family members located in other rooms often do not need to use the service provided by it. Therefore, the wearable device near the intelligent sound box can be used as the target device, and account switching can be performed.
Under the above situation, after receiving signals sent by a plurality of wearable devices, the intelligent sound box needs to judge the distance of each wearable device and screen out nearby devices from the distance. The distance between the wearable device and the intelligent sound box is different, the strength of the signal received by the intelligent sound box is also different, and in an alternative embodiment, the intelligent sound box can determine the distance between the family member and the intelligent sound box based on the strength of the received signal, and further screen out nearby devices to obtain the target device.
Step S206, switching the account currently bound by the second device into a target account corresponding to the target device.
The target account in the above step may be an account bound to the target device, and in the home application scenario, the target account may be an account of a family member using the target device, and in the office environment application scenario, the target account may be an account of a company staff member using the target device. After screening out nearby devices, the intelligent sound box can automatically switch accounts and bind with a target account.
In order to realize automatic account switching, an intelligent sound box needs to be initialized in advance, an account group is preset, each account can be bound with one or more devices, and the intelligent sound box is authorized to switch among the accounts according to a certain strategy. In the home application scenario, a home account group may be preset, and in the office environment application scenario, a corporate employee account group may be preset.
For example, wearable devices and smart speakers in a home application scenario are still illustrated as examples. In this application scenario, each family member has one wearable device and one account. For each smart speaker in the home, a signal sent by the wearable device may be received. If only a signal sent by one wearable device is received, the intelligent sound box can directly take the device as a target device and switch the account to the account corresponding to the device. If signals sent by a plurality of wearable devices are received, the intelligent sound box can screen out nearby devices based on the strength of the received signals, and switch accounts to be accounts corresponding to the nearby devices.
For another example, the wearable device and the smart speaker in the office environment application scenario are still described as an example. In this application scenario, each corporate employee has a wearable device and an account. For each smart speaker in the office environment, a signal sent by the wearable device may be received. If only a signal sent by one wearable device is received, the intelligent sound box can directly take the device as a target device and switch the account to the account corresponding to the device. If signals sent by a plurality of wearable devices are received, the intelligent sound box can screen out nearby devices based on the strength of the received signals, and switch accounts to be accounts corresponding to the nearby devices.
Based on the scheme provided by the embodiment of the application, after receiving the signal sent by the at least one first device, the target device in the at least one first device can be determined based on the received signals, and the account currently bound by the second device is switched to the target account corresponding to the target device, so that the purpose of automatic account switching is achieved. It is easy to notice that under the condition of user authorization, the intelligent device can automatically switch accounts based on the received signals without manual switching of users, so that the requirements of different users are met, the technical effect of user operation is simplified, and the technical problems that the intelligent device can only bind one account in the related technology, the account switching process is complicated, and personal information of the users is acquired are solved.
In the above-described embodiments of the present application, in a case where signals transmitted by a plurality of first devices are received, determining, based on at least one signal, a target device among the at least one first device includes: acquiring the intensity of a plurality of received signals; the intensities of the plurality of signals are compared to determine a target device.
In an alternative embodiment, the wearable device is different in distance from the smart speaker, the signal strength RSSI of the signal received by the smart speaker is different, the stronger the signal strength is, the closer the wearable device is to the smart speaker, so that the smart speaker can determine the nearby device according to the signal strength of the received signal, thereby determining the target device.
For example, consider a family application scenario as shown in fig. 3a and 3b, where two family members, dad and daughter, have a wearable device and an account, respectively. If father and daughter are at home at the same time, the intelligent sound box 1 in the living room and the intelligent sound box 2 in the bedroom C can both receive signals sent by two wearable devices.
As shown in fig. 3a, dad and daughter are in two rooms, dad in living room and daughter in bedroom C. The signal strength of the signal sent by the fatd equipment received by the intelligent sound box 1 is-20 dbm, and the signal strength of the signal sent by the daughter equipment is-70 dbm, so that the intelligent sound box 1 can determine the fatd equipment as target equipment and switch the fatd equipment into an account of the fatd equipment; the signal strength of the signal sent by the fatd equipment and received by the intelligent sound box 2 is-60 dbm, and the signal strength of the signal sent by the daughter equipment is-10 dbm, so that the intelligent sound box 2 can determine that the daughter equipment is the target equipment and switch the daughter equipment into the account of the daughter.
As shown in fig. 3b, both dad and daughter are in the living room, the signal strength of the signal sent by the dad device received by the intelligent sound box 1 is-20 dbm, and the signal strength of the signal sent by the daughter device is-25 dbm, so that the intelligent sound box 1 can determine the dad device as the target device and switch to the account of the dad device; the signal strength of the signal sent by the fatd equipment and received by the intelligent sound box 2 is-60 dbm, and the signal strength of the signal sent by the daughter equipment is-65 dbm, so that the intelligent sound box 2 can determine the fatd equipment as the target equipment and switch the fatd equipment into the account of the fatd equipment.
In the above embodiments of the present application, comparing the intensities of the plurality of signals to determine the target device includes: obtaining a difference value between the intensity of a first signal and the intensity of each second signal to obtain at least one difference value, wherein the first signal is any one of a plurality of signals, and the second signals are signals except the first signals in the plurality of signals; judging whether at least one difference value is larger than a preset threshold value; and if at least one difference value is larger than a preset threshold value, determining the first device sending the first signal as a target device.
For example, wearable devices and smart speakers in a home application scenario are still illustrated as examples. If multiple family members are in the same room, the intelligent sound box in the room can detect signals sent by multiple wearable devices, and the signal intensity difference of the signals is small, as shown in fig. 3 b. The signal intensity of the signal sent by the wearable device can change frequently when a plurality of family members walk back and forth in the same room, and if the target device is determined only according to the signal intensity, the problem of frequent account switching can occur.
For another example, the wearable device and the smart speaker in the office environment application scenario are still described as an example. If a plurality of company staff members are in offices, the intelligent sound box in the offices can detect signals sent by a plurality of wearable devices, the signal intensity difference of the signals is small, the plurality of company staff members walk back and forth in the offices, the signal intensity of the signals sent by the wearable devices can be changed frequently, and if the target device is determined only according to the signal intensity, the problem of frequent account switching can occur.
In order to avoid the above problem, a preset threshold may be set in advance according to the actual situation, and account switching may be triggered only if the difference value of the signal strengths is greater than the preset threshold. In different application scenarios, because the placement positions of the intelligent sound boxes are different, the signal intensity difference values of signals sent by the wearable equipment are different, in order to ensure that account switching is more targeted, an initial threshold value can be preset in the intelligent sound boxes, and a user can operate in the intelligent sound boxes to manually set the initial threshold value.
In the above embodiments of the present application, the difference between the signal strengths of each signal and all other signals may be calculated, and if the difference between the signal strengths of one signal and all other signals is greater than a preset threshold, the wearable device that sends the signal may be used as the target device.
For example, still taking the home application scenario as shown in fig. 3a as an example, the signal strength of the signal sent by the dad device received by the intelligent sound box 1 is higher than the signal strength of the signal sent by the parad device by a preset threshold, so that the intelligent sound box 1 can determine the dad device as the target device and switch to the account of dad; the signal strength of the signal sent by the daughter device received by the intelligent sound box 2 is higher than dad by a preset threshold, so that the intelligent sound box 2 can determine that the daughter device is the target device and switch to the account of the daughter.
In the above embodiment of the present application, in a case that a first difference value of the at least one difference values is smaller than a preset threshold value, the method further includes the following steps: acquiring priorities of accounts corresponding to a plurality of first devices; and acquiring the first equipment corresponding to the account with the highest priority to obtain the target equipment.
In an optional embodiment, when the difference value of the signal strength is smaller than the preset threshold, it indicates that there are multiple users with relatively close distances to the intelligent sound box, in order to realize account switching, different priorities may be set for different accounts in the process of performing initialization setting on the intelligent sound box, so that when the difference value of the signal strength is smaller than the preset threshold, a wearable device with a relatively high priority may be directly used as the target device.
For example, still taking the home application scenario as shown in fig. 3b as an example, the difference between the signal strengths of the two signals received by the smart speakers 1 and 2 does not exceed a certain threshold, so that the smart speakers 1 and 2 may use accounts with higher priority.
In the above embodiment of the present application, switching of the account currently bound by the second device is prohibited under the condition that the first difference value of the at least one difference value is smaller than the preset threshold.
In an alternative embodiment, in the case that the difference of the signal strengths is smaller than the preset threshold, it indicates that there are multiple users with a relatively close distance from the smart speaker, so that in order to avoid frequent account switching, the smart speaker may not trigger account switching, that is, not switch the current account.
In the above embodiment of the present application, when receiving a signal sent by one first device, determining, based on at least one signal, a target device in at least one first device includes: the first device transmitting the signal is determined as a target device.
In an optional embodiment, if the smart speaker only receives a signal sent by one wearable device, the smart speaker may directly use the device as the target device, and switch the account to the account corresponding to the device.
For example, taking the home application scenario as shown in fig. 4a as an example, in the home, only one family member of dad, and the smart speakers 1 and 2 only receive the signal sent by the dad device, the account can be switched to the account of dad, and all services are performed for dad.
Taking a family application scenario as shown in fig. 4b as an example, only one family member in the family, and the smart speakers 1 and 2 can receive signals sent by the parapet device, the account can be switched to the parapet account, and all services are performed for the parapet.
In the foregoing embodiment of the present application, before switching the account currently bound by the second device to the target account corresponding to the target device, the method further includes the following steps: acquiring the intensity of a signal; judging whether the intensity of the signal is larger than or equal to the preset intensity; if the intensity of the signal is greater than or equal to the preset intensity, switching the account currently bound by the second equipment into a target account; and if the strength of the signal is smaller than the preset strength, the switching of the account currently bound by the second equipment is forbidden.
In an alternative embodiment, the wearable device is different in distance from the intelligent sound box, the signal strength RSSI of the signal received by the intelligent sound box is different, the stronger the signal strength is, the closer the wearable device is to the intelligent sound box, so that the intelligent sound box can judge whether the device is positioned near the intelligent sound box according to the signal strength of the received signal, if so, the user is required to use the service provided by the device, and therefore, the account can be switched to the account corresponding to the device; if not, it indicates that the user does not need to use the service it provides, and therefore, the account switch may not be triggered, i.e., the current account is not switched.
In order to accurately judge whether the wearable equipment is located near the intelligent sound box, preset strength can be set in advance according to actual conditions, and account switching can be triggered only if the signal strength is greater than the preset strength. In order to ensure that account switching is more targeted, an initial intensity can be preset in the intelligent sound box, and the user can operate in the intelligent sound box to manually set the initial intensity.
For example, taking the home application scenario as shown in fig. 4a as an example, only one family member in the home is dad, and the signal strength of the signal sent by the dad device received by the intelligent sound box 1 is greater than the preset strength, so that the intelligent sound box 1 can determine that the dad device is the target device and switch to the account of dad; the signal strength of the signal sent by the dad equipment received by the intelligent sound box 2 is smaller than the preset strength, so that the intelligent sound box 2 does not trigger account switching.
Taking the home application scenario as shown in fig. 4b as an example, only one family member in the home, the signal strength of the signal sent by the daughter device received by the intelligent sound box 1 is smaller than the preset strength, so that the intelligent sound box 1 does not trigger account switching; the signal strength of the signal sent by the daughter device received by the intelligent sound box 2 is larger than the preset strength, so that the intelligent sound box 2 can determine that the daughter device is the target device and switch to the daughter account.
In the foregoing embodiment of the present application, before switching the account currently bound by the second device to the target account corresponding to the target device, the method further includes the following steps: matching the target account with at least one preset account in the preset account set; if the target account is successfully matched with any one preset account, switching the currently bound account of the second equipment into the target account; and if the target account is not matched with at least one preset account, prohibiting switching of the currently bound account of the second equipment.
For example, wearable devices and smart speakers in a home application scenario are still illustrated as examples. In addition to family members, relatives and friends of family members can serve as guests, in order to avoid that the intelligent sound box switches the account to the account of the guest, the target account can be verified before the account switching is triggered, whether the account is the account of the family member or not is judged, and if so, the account switching can be triggered; if not, the account switching is not triggered.
For another example, the wearable device and the smart speaker in the office environment application scenario are still described as an example. In addition to the staff of the company, the customer is received in the office, in order to avoid the intelligent sound box to switch the account into the account of the customer, the target account can be verified before the account switching is triggered, whether the account is the account of the staff of the company is judged, and if so, the account switching can be triggered; if not, the account switching is not triggered.
The preset account set in the above step may be a preset account group when the intelligent sound box is initialized. In the family application scene, the target account can be matched with the accounts in the family account group to judge whether the target account is the account of the family member, and if the matching is successful, the target account is determined to be the account of the family member; if the match fails, it is determined that the target account is not an account of a family member. In the application scene of the office environment, whether the target account is an account of a company staff member or not can be judged by matching the target account with the accounts in the account group of the company staff member, and if the matching is successful, the target account is determined to be an account of a family member; if the match fails, it is determined that the target account is not an account of a family member.
In the above embodiment of the present application, the signal includes: in the case of the sound signal, before receiving the signal sent by the at least one first device, sending verification information to the at least one first device, where the first device is configured to display the verification information and collect the sound signal.
In an alternative embodiment, in order to ensure the security of the smart speaker, before the connection is established with the wearable device, the user may be identified by means of voiceprint recognition, at which time the sound emitted by the user needs to be acquired. The conventional method can be to display a section of text for a user and collect sound signals sent by the user when the user reads the text, so that the user identification can be realized by identifying the collected sound signals.
The verification information may be information for performing voiceprint verification, for example, a text. The intelligent sound box can send verification information to the wearable device, the wearable device displays the verification information to a user for viewing, and collects sound signals sent by the user in real time, when the intelligent sound box receives the sound signals sent by the wearable device, the intelligent sound box can identify in a voiceprint identification mode, and meanwhile, the intelligent sound box can determine target equipment based on the strength of the sound signals, and performs account switching.
It should be noted that, for simplicity of description, the foregoing method embodiments are all expressed as a series of action combinations, but it should be understood by those skilled in the art that the present application is not limited by the order of actions described, as some steps may be performed in other order or simultaneously in accordance with the present application. Further, those skilled in the art will also appreciate that the embodiments described in the specification are all preferred embodiments, and that the acts and modules referred to are not necessarily required in the present application.
From the description of the above embodiments, it will be clear to a person skilled in the art that the method according to the above embodiments may be implemented by means of software plus the necessary general hardware platform, but of course also by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), comprising several instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method described in the embodiments of the present application.
Example 2
According to the embodiment of the application, an embodiment of an account switching method is also provided.
Fig. 5 is a flow chart of another account switching method according to an embodiment of the present application. As shown in fig. 5, the method comprises the steps of:
step S502, displaying the account currently bound by the second device in the interactive interface of the second device;
in the above step, the second device may be, but is not limited to, a smart speaker, a smart television, or the like that provides a service for an account. For the second device with a screen, the above-mentioned interactive interface may be an interface displayed on a display screen; for a second device without a screen, the interactive interface may be an interface of an application installed on the user's mobile terminal. The user can view the setting parameters of the second device, the provided service and the like through the interactive interface, and the user can directly operate on the interface or realize the setting of the second device and enjoy the provided service through a voice control mode.
For example, taking an intelligent sound box with a screen as an example, an interactive interface of the intelligent sound box is shown in fig. 6, icons such as video, music, audio, shopping, talking, setting and the like are displayed on the interface, and under the condition that a user does not trigger any icon, advertisements pushed to the user can be displayed in a display area on the right side; in the case that the user triggers any one icon, the display area on the right side may display an operation interface of the corresponding icon.
Step S504, displaying a target account newly bound by the second device in the interactive interface, wherein the target account is an account corresponding to the target device in the at least one first device, and the target device is determined based on the received signal sent by the at least one first device.
In the above steps, the first device may be a wearable device, or may be a mobile terminal, for example, a smart phone, a tablet computer, a palm computer, or the like, but is not limited thereto. The above-mentioned signal may be a sound signal or a wireless communication signal, but is not limited thereto. The target account in the above step may be an account bound to the target device.
In the above-described embodiments of the present application, in the case where signals transmitted by a plurality of first devices are received, the target device is determined by comparing the intensities of the received plurality of signals.
In the above embodiments of the present application, the target device is a first device that transmits a first signal when at least one difference between the intensity of the first signal and the intensity of each second signal is greater than a preset threshold, where the first signal is any one of a plurality of signals, and the second signal is a signal other than the first signal among the plurality of signals.
In the foregoing embodiments of the present application, when a first difference value of the at least one difference value is smaller than a preset threshold, the target device is a first device corresponding to the acquired account with the highest priority.
In the foregoing embodiments of the present application, when a first difference value of the at least one difference value is smaller than a preset threshold, a prompt message is displayed in the interactive interface, where the prompt message is used to prompt to prohibit switching of an account currently bound by the second device.
In an alternative embodiment, in the case that the difference of the signal strengths is smaller than the preset threshold, it indicates that there are multiple users with a relatively close distance from the smart speaker, so that in order to avoid frequent account switching, the smart speaker may not trigger account switching, that is, not switch the current account.
In order to ensure that the user can learn the situation, the intelligent sound box can generate prompt information and output the prompt information to the user, and the prompt information can be directly displayed on the interactive interface or can be output to the user in a voice broadcasting mode, but the intelligent sound box is not limited to the situation.
In the above-described embodiment of the present application, in the case where a signal transmitted by one first device is received, the target device is the first device that transmits the signal.
In the above embodiment of the present application, when the intensity of the signal is greater than or equal to the preset intensity, displaying the target account newly bound by the second device in the interactive interface; and displaying prompt information in the interactive interface under the condition that the intensity of the signal is smaller than the preset intensity.
In the foregoing embodiment of the present application, before displaying the target account newly bound by the second device in the interactive interface, the method further includes the following steps: under the condition that the target account is successfully matched with any one preset account in the preset account set, displaying a target account newly bound by the second equipment in the interactive interface; and displaying prompt information in the interactive interface under the condition that the target account fails to be matched with at least one preset account in the preset account set.
In the above embodiment of the present application, the signal includes: and under the condition of the sound signal, displaying verification information in the interactive interface, wherein the first equipment is used for displaying the received verification information and collecting the sound signal.
It should be noted that, the preferred embodiments designed in the above examples of the present application are the same as the embodiments provided in example 1, the application scenario and the implementation process, but are not limited to the embodiments provided in example 1.
Example 3
According to an embodiment of the present application, there is further provided an account switching apparatus for implementing the account switching method, as shown in fig. 7, the apparatus 700 includes: a receiving module 702, a determining module 704 and a switching module 706.
Wherein, the receiving module 702 is configured to receive a signal sent by at least one first device; the determining module 704 is configured to determine a target device of the at least one first device based on the at least one signal; the switching module 706 is configured to switch an account currently bound by the second device to a target account corresponding to the target device.
Here, the receiving module 702, the determining module 704 and the switching module 706 correspond to steps S202 to S206 in embodiment 1, and the three modules are the same as the examples and application scenarios implemented by the corresponding steps, but are not limited to those disclosed in embodiment 1. It should be noted that the above-described module may be operated as a part of the apparatus in the computer terminal 10 provided in embodiment 1.
In the above embodiment of the present application, in a case where signals sent by a plurality of first devices are received, the determining module includes: the sub-module is acquired and the sub-module is determined.
The acquisition sub-module is used for acquiring the intensity of the received signals; the determining submodule is used for comparing the intensities of the signals and determining target equipment.
In the above embodiment of the present application, the comparing submodule includes: the device comprises a first acquisition unit, a judging unit and a determining unit.
The first acquisition unit is used for acquiring a difference value between the intensity of a first signal and the intensity of each second signal to obtain at least one difference value, wherein the first signal is any one of a plurality of signals, and the second signal is a signal except the first signal in the plurality of signals; the judging unit is used for judging whether at least one difference value is larger than a preset threshold value; the determining unit is used for determining that the first device sending the first signal is a target device if at least one difference value is larger than a preset threshold value.
In the above embodiment of the present application, the comparing submodule further includes: a second acquisition unit and a third acquisition unit.
The second obtaining unit is used for obtaining priorities of accounts corresponding to the plurality of first devices under the condition that a first difference value in the at least one difference value is smaller than a preset threshold value; the third obtaining unit is used for obtaining the first device corresponding to the account with the highest priority to obtain the target device.
In the above embodiments of the present application, the apparatus further includes: the module is disabled.
And the prohibiting module is used for prohibiting switching of the account currently bound by the second equipment under the condition that a first difference value in the at least one difference value is smaller than a preset threshold value.
In the above embodiment of the present application, when a signal sent by a first device is received, the determining module is further configured to determine that the first device sending the signal is a target device.
In the above embodiments of the present application, the apparatus further includes: the device comprises an acquisition module, a judgment module and a prohibition module.
The acquisition module is used for acquiring the intensity of the signal; the judging module is used for judging whether the strength of the signal is larger than or equal to the preset strength; the switching module is further configured to switch the account currently bound by the second device to a target account if the strength of the signal is greater than or equal to a preset strength; and the prohibiting module is used for prohibiting switching of the account currently bound by the second equipment if the strength of the signal is smaller than the preset strength.
In the above embodiments of the present application, the apparatus further includes: a matching module and a prohibiting module.
The matching module is used for matching the target account with at least one preset account in the preset account set; the switching module is further used for switching the account currently bound by the second device into the target account if the target account is successfully matched with any one of the preset accounts; and the prohibition module is used for prohibiting switching of the currently bound account of the second equipment if the target account is failed to be matched with at least one preset account.
In the above embodiment of the present application, the signal includes: in the case of an acoustic signal, the apparatus further comprises: and a transmitting module.
The sending module is used for sending verification information to at least one first device, wherein the first device is used for displaying the verification information and collecting sound signals.
It should be noted that, the preferred embodiments designed in the above examples of the present application are the same as the embodiments provided in example 1, the application scenario and the implementation process, but are not limited to the embodiments provided in example 1.
Example 4
According to an embodiment of the present application, there is further provided an account switching apparatus for implementing the account switching method, as shown in fig. 8, the apparatus 800 includes: a first display module 802 and a second display module 804.
The first display module 802 is configured to display, in an interactive interface of the second device, an account currently bound by the second device; the second display module 804 is configured to display a target account newly bound by the second device in the interactive interface, where the target account is an account corresponding to a target device in the at least one first device, and the target device is determined based on a received signal sent by the at least one first device.
Here, it should be noted that the first display module 802 and the second display module 804 correspond to steps S502 to S504 in embodiment 2, and the two modules are the same as the examples and application scenarios implemented by the corresponding steps, but are not limited to those disclosed in embodiment 1. It should be noted that the above-described module may be operated as a part of the apparatus in the computer terminal 10 provided in embodiment 1.
In the above-described embodiments of the present application, in the case where signals transmitted by a plurality of first devices are received, the target device is determined by comparing the intensities of the received plurality of signals.
In the above embodiments of the present application, the target device is a first device that transmits a first signal when at least one difference between the intensity of the first signal and the intensity of each second signal is greater than a preset threshold, where the first signal is any one of a plurality of signals, and the second signal is a signal other than the first signal among the plurality of signals.
In the foregoing embodiments of the present application, when a first difference value of the at least one difference value is smaller than a preset threshold, the target device is a first device corresponding to the acquired account with the highest priority.
In the above embodiments of the present application, the apparatus further includes: and a third display module.
The third display module is used for displaying prompt information in the interactive interface when the first difference value in the at least one difference value is smaller than a preset threshold value, wherein the prompt information is used for prompting to prohibit switching of the account currently bound by the second device.
In the above-described embodiment of the present application, in the case where a signal transmitted by one first device is received, the target device is the first device that transmits the signal.
In the above embodiments of the present application, the apparatus further includes: and a third display module.
The second display module is further used for displaying a target account newly bound by the second device in the interactive interface under the condition that the intensity of the signal is larger than or equal to the preset intensity; and the third display module is used for displaying prompt information in the interactive interface under the condition that the intensity of the signal is smaller than the preset intensity.
In the above embodiments of the present application, the apparatus further includes: and a third display module.
The second display module is further used for displaying a target account newly bound by the second device in the interactive interface under the condition that the target account is successfully matched with any one preset account in the preset account set; the third display module is used for displaying prompt information in the interactive interface under the condition that the target account fails to be matched with at least one preset account in the preset account set.
In the above embodiment of the present application, the signal includes: in the case of an acoustic signal, the apparatus further comprises: and a third display module.
The third display module is used for displaying verification information in the interactive interface, wherein the first device is used for displaying the received verification information and collecting sound signals.
It should be noted that, the preferred embodiments designed in the above examples of the present application are the same as the embodiments provided in example 1, the application scenario and the implementation process, but are not limited to the embodiments provided in example 1.
Example 5
According to an embodiment of the present application, there is also provided an account switching system, as shown in fig. 9, including: at least one first device 10 and a second device 20, the second device being communicatively connected to the at least one first device.
Wherein the first device is configured to transmit a signal; the second device is used for determining target devices in the at least one first device based on the received at least one signal, and switching the currently bound accounts into target accounts corresponding to the target devices.
The first device may be a wearable device, or may be a mobile terminal, such as a smart phone, a tablet computer, a palmtop computer, or the like, but is not limited thereto. The second device may be, but is not limited to, a smart speaker, a smart television, or the like that provides services for the account. The above-mentioned signal may be a sound signal or a wireless communication signal, but is not limited thereto. The target account may be an account bound to the target device.
In the above embodiment of the present application, as shown in fig. 9, the system includes: in the case of a plurality of first devices 10, the second device 20 includes: a communication module 22 communicatively coupled to the at least one first device, and a processor 24 communicatively coupled to the communication module.
The communication module is used for receiving signals sent by a plurality of first devices; the processor is used for comparing the intensities of the received signals to determine the target equipment.
The communication module may be a wireless communication module, such as bluetooth, WIFI, etc., but is not limited thereto. The processor may be a central processing unit (CPU, central Processing Unit), but is not limited thereto.
In the above-described embodiment of the present application, as shown in fig. 9, the processor 24 includes: the operation module 242 and the judgement module 244, the operation module is connected with the communication module, and the judgement module is connected with the operation module.
The operation module is used for obtaining a difference value between the intensity of the first signal and the intensity of each second signal to obtain at least one difference value, wherein the first signal is any one of a plurality of signals, and the second signal is a signal except the first signal in the plurality of signals; the judging module is used for judging whether at least one difference value is larger than a preset threshold value, wherein if the at least one difference value is larger than the preset threshold value, the first device sending the first signal is determined to be the target device.
The above-mentioned operation module and the judgment module may be integrated in the operation unit of the processor, but not limited thereto, and the two modules may be packaged separately.
In the foregoing embodiments of the present application, the operation module is further configured to obtain priorities of accounts corresponding to the plurality of first devices; the judging module is also used for obtaining the first equipment corresponding to the account with the highest priority to obtain the target equipment.
In the above embodiment of the present application, as shown in fig. 9, the processor 24 further includes: the control module 246 is connected to the decision module 244.
The control module is used for prohibiting switching of the account currently bound by the second device under the condition that a first difference value in the at least one difference value is smaller than a preset threshold value.
In the above embodiment of the present application, as shown in fig. 10, the system includes: in the case of a first device 10, the second device 20 comprises: a processor 24.
The processor is used for determining that the first device sending the signal is a target device.
In the above-described embodiment of the present application, as shown in fig. 10, the processor 24 includes: the operation module 242 and the judgement module 244, the operation module is connected with the communication module, and the judgement module is connected with the operation module.
The operation module is used for acquiring the intensity of the signal; the judging module is further used for judging whether the strength of the signal is greater than or equal to preset strength, wherein if the strength of the signal is greater than or equal to preset strength, the account currently bound by the second device is switched to a target account; and if the strength of the signal is smaller than the preset strength, the switching of the account currently bound by the second equipment is forbidden.
In the foregoing embodiment of the present application, the determining module is further configured to match the target account with at least one preset account in the preset account set, where if the target account is successfully matched with any one preset account, the currently bound account of the second device is switched to the target account; and if the target account is not matched with at least one preset account, prohibiting switching of the currently bound account of the second equipment.
In the above embodiment of the present application, the communication module is further configured to send verification information to at least one first device, where the first device is configured to display the verification information and collect the sound signal.
It should be noted that, the preferred embodiments designed in the above examples of the present application are the same as the embodiments provided in example 1, the application scenario and the implementation process, but are not limited to the embodiments provided in example 1.
Example 6
According to an embodiment of the present application, there is also provided an account switching system, including:
a processor; and
a memory, coupled to the processor, for providing instructions to the processor for processing the steps of: receiving signals sent by at least one first device; determining a target device of the at least one first device based on the at least one signal; and switching the account currently bound by the second device into a target account corresponding to the target device.
It should be noted that, the preferred embodiments designed in the above examples of the present application are the same as the embodiments provided in example 1, the application scenario and the implementation process, but are not limited to the embodiments provided in example 1.
Example 7
Embodiments of the present application may provide a computer terminal, which may be any one of a group of computer terminals. Alternatively, in the present embodiment, the above-described computer terminal may be replaced with a terminal device such as a mobile terminal.
Alternatively, in this embodiment, the above-mentioned computer terminal may be located in at least one network device among a plurality of network devices of the computer network.
In this embodiment, the computer terminal may execute the program code of the following steps in the account switching method: receiving signals sent by at least one first device; determining a target device of the at least one first device based on the at least one signal; and switching the account currently bound by the second device into a target account corresponding to the target device.
Alternatively, fig. 11 is a block diagram of a computer terminal according to an embodiment of the present application. As shown in fig. 11, the computer terminal a may include: one or more (only one is shown) processors 1102, and a memory 1104.
The memory may be used to store software programs and modules, such as program instructions/modules corresponding to the account switching method and apparatus in the embodiments of the present application, and the processor executes the software programs and modules stored in the memory, thereby executing various functional applications and data processing, that is, implementing the account switching method described above. The memory may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory may further include memory remotely located with respect to the processor, which may be connected to terminal a through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The processor may call the information and the application program stored in the memory through the transmission device to perform the following steps: receiving signals sent by at least one first device; determining a target device of the at least one first device based on the at least one signal; and switching the account currently bound by the second device into a target account corresponding to the target device.
Optionally, the above processor may further execute program code for: under the condition that signals sent by a plurality of first devices are received, acquiring the strength of the received signals; the intensities of the plurality of signals are compared to determine a target device.
Optionally, the above processor may further execute program code for: obtaining a difference value between the intensity of a first signal and the intensity of each second signal to obtain at least one difference value, wherein the first signal is any one of a plurality of signals, and the second signals are signals except the first signals in the plurality of signals; judging whether at least one difference value is larger than a preset threshold value; and if at least one difference value is larger than a preset threshold value, determining the first device sending the first signal as a target device.
Optionally, the above processor may further execute program code for: acquiring priorities of accounts corresponding to a plurality of first devices under the condition that a first difference value in at least one difference value is smaller than a preset threshold value; and acquiring the first equipment corresponding to the account with the highest priority to obtain the target equipment.
Optionally, the above processor may further execute program code for: and under the condition that a first difference value in the at least one difference value is smaller than a preset threshold value, switching of the account currently bound by the second equipment is forbidden.
Optionally, the above processor may further execute program code for: and under the condition that a signal sent by one first device is received, determining the first device sending the signal as a target device.
Optionally, the above processor may further execute program code for: before switching an account currently bound by the second device into a target account corresponding to the target device, acquiring the strength of a signal; judging whether the intensity of the signal is larger than or equal to the preset intensity; if the intensity of the signal is greater than or equal to the preset intensity, switching the account currently bound by the second equipment into a target account; and if the strength of the signal is smaller than the preset strength, the switching of the account currently bound by the second equipment is forbidden.
Optionally, the above processor may further execute program code for: before switching the account currently bound by the second device into a target account corresponding to the target device, matching the target account with at least one preset account in a preset account set; if the target account is successfully matched with any one preset account, switching the currently bound account of the second equipment into the target account; and if the target account is not matched with at least one preset account, prohibiting switching of the currently bound account of the second equipment.
Optionally, the above processor may further execute program code for: the signal comprises: in the case of the sound signal, before receiving the signal sent by the at least one first device, sending verification information to the at least one first device, where the first device is configured to display the verification information and collect the sound signal.
The processor may call the information and the application program stored in the memory through the transmission device to perform the following steps: displaying an account currently bound by the second device in an interactive interface of the second device; and displaying the newly bound target account of the second device in the interactive interface, wherein the target account is an account corresponding to the target device in the at least one first device, and the target device is determined based on the received signal sent by the at least one first device.
Optionally, the above processor may further execute program code for: and displaying prompt information in the interactive interface under the condition that a first difference value in the at least one difference value is smaller than a preset threshold value, wherein the prompt information is used for prompting to prohibit switching of the account currently bound by the second equipment.
Optionally, the above processor may further execute program code for: displaying a target account newly bound by the second equipment in the interactive interface under the condition that the intensity of the signal is larger than or equal to the preset intensity; and displaying prompt information in the interactive interface under the condition that the intensity of the signal is smaller than the preset intensity.
Optionally, the above processor may further execute program code for: before a target account newly bound by the second device is displayed in the interactive interface, under the condition that the target account is successfully matched with any one preset account in the preset account set, displaying the target account newly bound by the second device in the interactive interface; and displaying prompt information in the interactive interface under the condition that the target account fails to be matched with at least one preset account in the preset account set.
Optionally, the above processor may further execute program code for: the signal comprises: and under the condition of the sound signal, displaying verification information in the interactive interface, wherein the first equipment is used for displaying the received verification information and collecting the sound signal.
By adopting the embodiment of the application, an account switching scheme is provided. By receiving the signal sent by at least one first device and switching accounts based on the received signal, the purpose of automatic switching of accounts is achieved without manual switching of users, so that the requirements of different users are met, the technical effect of user operation is simplified, and the technical problems that in the related art, intelligent devices can only bind one account and the account switching process is complicated are solved.
It will be appreciated by those skilled in the art that the configuration shown in fig. 11 is only illustrative, and the computer terminal may be a smart phone (such as an Android phone, an iOS phone, etc.), a tablet computer, a palm-phone computer, a mobile internet device (Mobile Internet Devices, MID), a PAD, etc. Fig. 11 is not limited to the structure of the electronic device. For example, the computer terminal a may also include more or fewer components (such as a network interface, a display device, etc.) than shown in fig. 11, or have a different configuration than shown in fig. 11.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be implemented by a program for instructing a terminal device to execute in association with hardware, the program may be stored in a computer readable storage medium, and the storage medium may include: flash disk, read-Only Memory (ROM), random-access Memory (Random Access Memory, RAM), magnetic or optical disk, and the like.
Example 8
Embodiments of the present application also provide a storage medium. Alternatively, in this embodiment, the storage medium may be used to store the program code executed by the account switching method provided in the above embodiment.
Alternatively, in this embodiment, the storage medium may be located in any one of the computer terminals in the computer terminal group in the computer network, or in any one of the mobile terminals in the mobile terminal group.
Alternatively, in the present embodiment, the storage medium is configured to store program code for performing the steps of: receiving signals sent by at least one first device; determining a target device of the at least one first device based on the at least one signal; and switching the account currently bound by the second device into a target account corresponding to the target device.
Optionally, the above storage medium is further configured to store program code for performing the steps of: under the condition that signals sent by a plurality of first devices are received, acquiring the strength of the received signals; the intensities of the plurality of signals are compared to determine a target device.
Optionally, the above storage medium is further configured to store program code for performing the steps of: obtaining a difference value between the intensity of a first signal and the intensity of each second signal to obtain at least one difference value, wherein the first signal is any one of a plurality of signals, and the second signals are signals except the first signals in the plurality of signals; judging whether at least one difference value is larger than a preset threshold value; and if at least one difference value is larger than a preset threshold value, determining the first device sending the first signal as a target device.
Optionally, the above storage medium is further configured to store program code for performing the steps of: acquiring priorities of accounts corresponding to a plurality of first devices under the condition that a first difference value in at least one difference value is smaller than a preset threshold value; and acquiring the first equipment corresponding to the account with the highest priority to obtain the target equipment.
Optionally, the above storage medium is further configured to store program code for performing the steps of: and under the condition that a first difference value in the at least one difference value is smaller than a preset threshold value, switching of the account currently bound by the second equipment is forbidden.
Optionally, the above storage medium is further configured to store program code for performing the steps of: and under the condition that a signal sent by one first device is received, determining the first device sending the signal as a target device.
Optionally, the above storage medium is further configured to store program code for performing the steps of: before switching an account currently bound by the second device into a target account corresponding to the target device, acquiring the strength of a signal; judging whether the intensity of the signal is larger than or equal to the preset intensity; if the intensity of the signal is greater than or equal to the preset intensity, switching the account currently bound by the second equipment into a target account; and if the strength of the signal is smaller than the preset strength, the switching of the account currently bound by the second equipment is forbidden.
Optionally, the above storage medium is further configured to store program code for performing the steps of: before switching the account currently bound by the second device into a target account corresponding to the target device, matching the target account with at least one preset account in a preset account set; if the target account is successfully matched with any one preset account, switching the currently bound account of the second equipment into the target account; and if the target account is not matched with at least one preset account, prohibiting switching of the currently bound account of the second equipment.
Optionally, the above storage medium is further configured to store program code for performing the steps of: the signal comprises: in the case of the sound signal, before receiving the signal sent by the at least one first device, sending verification information to the at least one first device, where the first device is configured to display the verification information and collect the sound signal.
Alternatively, in the present embodiment, the storage medium is configured to store program code for performing the steps of: displaying an account currently bound by the second device in an interactive interface of the second device; and displaying the newly bound target account of the second device in the interactive interface, wherein the target account is an account corresponding to the target device in the at least one first device, and the target device is determined based on the received signal sent by the at least one first device.
Optionally, the above storage medium is further configured to store program code for performing the steps of: and displaying prompt information in the interactive interface under the condition that a first difference value in the at least one difference value is smaller than a preset threshold value, wherein the prompt information is used for prompting to prohibit switching of the account currently bound by the second equipment.
Optionally, the above storage medium is further configured to store program code for performing the steps of: displaying a target account newly bound by the second equipment in the interactive interface under the condition that the intensity of the signal is larger than or equal to the preset intensity; and displaying prompt information in the interactive interface under the condition that the intensity of the signal is smaller than the preset intensity.
Optionally, the above storage medium is further configured to store program code for performing the steps of: before a target account newly bound by the second device is displayed in the interactive interface, under the condition that the target account is successfully matched with any one preset account in the preset account set, displaying the target account newly bound by the second device in the interactive interface; and displaying prompt information in the interactive interface under the condition that the target account fails to be matched with at least one preset account in the preset account set.
Optionally, the above storage medium is further configured to store program code for performing the steps of: the signal comprises: and under the condition of the sound signal, displaying verification information in the interactive interface, wherein the first equipment is used for displaying the received verification information and collecting the sound signal.
The foregoing embodiment numbers of the present application are merely for describing, and do not represent advantages or disadvantages of the embodiments.
In the foregoing embodiments of the present application, the descriptions of the embodiments are emphasized, and for a portion of this disclosure that is not described in detail in this embodiment, reference is made to the related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed technology content may be implemented in other manners. The above-described embodiments of the apparatus are merely exemplary, and the division of the units, such as the division of the units, is merely a logical function division, and may be implemented in another manner, for example, multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some interfaces, units or modules, or may be in electrical or other forms.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be embodied in essence or a part contributing to the prior art or all or part of the technical solution in the form of a software product stored in a storage medium, including several instructions to cause a computer device (which may be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing is merely a preferred embodiment of the present application and it should be noted that modifications and adaptations to those skilled in the art may be made without departing from the principles of the present application and are intended to be comprehended within the scope of the present application.

Claims (15)

1. An account switching method, comprising:
receiving signals sent by at least one first device according to a preset time interval;
determining a target device of the at least one first device based on at least one signal;
switching the account currently bound by the second device into a target account corresponding to the target device;
wherein, in a case where signals transmitted by a plurality of first devices are received, determining a target device among the at least one first device based on at least one signal, comprises: acquiring the intensity of a plurality of received signals; obtaining a difference value between the intensity of a first signal and the intensity of each second signal to obtain at least one difference value, wherein the first signal is any one of the plurality of signals, and the second signals are signals except the first signals in the plurality of signals; judging whether the at least one difference value is larger than a preset threshold value or not; and if the at least one difference value is larger than the preset threshold value, determining that the first device sending the first signal is the target device.
2. The method of claim 1, wherein, in the event that a first difference of the at least one difference is less than the preset threshold, the method further comprises:
acquiring priorities of accounts corresponding to the plurality of first devices;
and acquiring the first equipment corresponding to the account with the highest priority, and obtaining the target equipment.
3. The method of claim 1, wherein switching the account currently bound by the second device is prohibited if a first difference of the at least one difference is less than the preset threshold.
4. The method of claim 1, wherein, in the event of receipt of a signal transmitted by a first device,
determining a target device of the at least one first device based on at least one signal, comprising:
and determining the first device sending the signal as the target device.
5. The method of claim 4, wherein prior to switching the account currently bound by the second device to the target account corresponding to the target device, the method further comprises:
acquiring the intensity of the signal;
judging whether the intensity of the signal is larger than or equal to the preset intensity;
if the intensity of the signal is greater than or equal to the preset intensity, switching the account currently bound by the second equipment into the target account;
And if the strength of the signal is smaller than the preset strength, switching the account currently bound by the second equipment is forbidden.
6. The method of any of claims 1-5, wherein prior to switching the account currently bound by the second device to the target account corresponding to the target device, the method further comprises:
matching the target account with at least one preset account in a preset account set;
if the target account is successfully matched with any one preset account, switching the account currently bound by the second equipment into the target account;
and if the target account is not matched with the at least one preset account, switching the account currently bound by the second equipment is forbidden.
7. The method of claim 1, wherein the signal comprises one of: sound signals and wireless communication signals.
8. The method of claim 7, wherein, at the signal, comprising: and under the condition of the sound signal, before receiving the signal sent by the at least one first device, sending verification information to the at least one first device, wherein the first device is used for displaying the verification information and collecting the sound signal.
9. An account switching method, comprising:
displaying an account currently bound by the second device in an interactive interface of the second device;
displaying a target account newly bound by the second device in the interactive interface, wherein the target account is an account corresponding to a target device in at least one first device, and the target device is determined based on signals sent by at least one first device and received according to a preset time interval, and the target device is determined by comparing the intensities of the received signals when the signals sent by a plurality of first devices are received;
and under the condition that at least one difference value between the intensity of the first signal and the intensity of each second signal is larger than a preset threshold value, the target device is a first device for transmitting the first signal, wherein the first signal is any one of the plurality of signals, and the second signal is a signal except the first signal in the plurality of signals.
10. The method of claim 9, wherein the target device is a first device corresponding to the acquired account with the highest priority if a first difference value of the at least one difference value is smaller than a preset threshold.
11. An account switching system, comprising:
at least one first device for transmitting signals;
the second device is in communication connection with the at least one first device, and is used for determining target devices in the at least one first device based on at least one signal received according to a preset time interval, and switching the currently bound accounts into target accounts corresponding to the target devices;
wherein, at the system includes: in the case of a plurality of first devices, the second device includes:
the communication module is in communication connection with the at least one first device and is used for receiving signals sent by the plurality of first devices;
the processor is connected with the communication module and used for comparing the intensities of the received signals and determining the target equipment;
wherein the processor comprises:
the operation module is connected with the communication module and is used for obtaining the difference value between the intensity of a first signal and the intensity of each second signal to obtain at least one difference value, wherein the first signal is any one of the plurality of signals, and the second signals are signals except the first signals;
And the judging module is connected with the operation module and is used for judging whether the at least one difference value is larger than a preset threshold value, wherein if the at least one difference value is larger than the preset threshold value, the first device sending the first signal is determined to be the target device.
12. The system of claim 11, wherein,
the operation module is further used for acquiring priorities of accounts corresponding to the plurality of first devices;
the judging module is further used for obtaining the first device corresponding to the account with the highest priority, and obtaining the target device.
13. A storage medium comprising a stored program, wherein the program, when run, controls a device in which the storage medium is located to perform the account switching method of any one of claims 1 to 8 or 9 to 10.
14. A processing apparatus, comprising: a memory and a processor for executing a program stored in the memory, wherein the program, when executed, performs the account switching method of any one of claims 1 to 8 or 9 to 10.
15. An account switching system, comprising:
a processor; and
a memory, coupled to the processor, for providing instructions to the processor to process the following processing steps: receiving signals sent by at least one first device according to a preset time interval; determining a target device of the at least one first device based on at least one signal; switching the account currently bound by the second device into a target account corresponding to the target device;
Wherein, in a case where signals transmitted by a plurality of first devices are received, determining a target device among the at least one first device based on at least one signal, comprises: acquiring the intensity of a plurality of received signals; obtaining a difference value between the intensity of a first signal and the intensity of each second signal to obtain at least one difference value, wherein the first signal is any one of the plurality of signals, and the second signals are signals except the first signals in the plurality of signals; judging whether the at least one difference value is larger than a preset threshold value or not; and if the at least one difference value is larger than the preset threshold value, determining that the first device sending the first signal is the target device.
CN202010220227.2A 2020-03-25 2020-03-25 Account switching method and system, storage medium and processing device Active CN113452583B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010220227.2A CN113452583B (en) 2020-03-25 2020-03-25 Account switching method and system, storage medium and processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010220227.2A CN113452583B (en) 2020-03-25 2020-03-25 Account switching method and system, storage medium and processing device

Publications (2)

Publication Number Publication Date
CN113452583A CN113452583A (en) 2021-09-28
CN113452583B true CN113452583B (en) 2023-06-02

Family

ID=77806960

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010220227.2A Active CN113452583B (en) 2020-03-25 2020-03-25 Account switching method and system, storage medium and processing device

Country Status (1)

Country Link
CN (1) CN113452583B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105847252A (en) * 2016-03-22 2016-08-10 海信集团有限公司 Multi-account switching method and device
CN109714333A (en) * 2018-12-25 2019-05-03 广东美的制冷设备有限公司 The management method of household appliance and its control authority, device, readable storage medium storing program for executing
CN110049476A (en) * 2019-04-22 2019-07-23 深圳绿米联创科技有限公司 Method, apparatus, mobile terminal and the storage medium of equipment push
CN110415695A (en) * 2019-07-25 2019-11-05 华为技术有限公司 A kind of voice awakening method and electronic equipment

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105223913A (en) * 2014-06-30 2016-01-06 青岛海尔智能家电科技有限公司 The method controlled for equipment and device
CN105100190B (en) * 2015-05-21 2019-05-10 小米科技有限责任公司 The methods, devices and systems that the control planning of account and equipment is managed
CN105187282B (en) * 2015-08-13 2018-10-26 小米科技有限责任公司 Control method, device, system and the equipment of smart home device
CN106658159A (en) * 2016-09-05 2017-05-10 努比亚技术有限公司 Control method and first electronic equipment, and target equipment
CN108469792B (en) * 2018-03-20 2020-03-27 Oppo广东移动通信有限公司 Intelligent household control method and device, computer equipment and readable storage medium
CN110782904A (en) * 2019-11-07 2020-02-11 四川长虹电器股份有限公司 User account switching method of intelligent voice equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105847252A (en) * 2016-03-22 2016-08-10 海信集团有限公司 Multi-account switching method and device
CN109714333A (en) * 2018-12-25 2019-05-03 广东美的制冷设备有限公司 The management method of household appliance and its control authority, device, readable storage medium storing program for executing
CN110049476A (en) * 2019-04-22 2019-07-23 深圳绿米联创科技有限公司 Method, apparatus, mobile terminal and the storage medium of equipment push
CN110415695A (en) * 2019-07-25 2019-11-05 华为技术有限公司 A kind of voice awakening method and electronic equipment

Also Published As

Publication number Publication date
CN113452583A (en) 2021-09-28

Similar Documents

Publication Publication Date Title
CN104540184B (en) Equipment networking method and device
CN105338389B (en) The method and apparatus for controlling smart television
US10453331B2 (en) Device control method and apparatus
US10237901B2 (en) Method and apparatus for connecting with controlled smart device, and storage medium
CN105847099B (en) Internet of things implementation system and method based on artificial intelligence
CN104936304A (en) Intelligent equipment binding method, intelligent equipment, and server
CN104270806B (en) Transmission power adjustment method and device
CN105162728B (en) Method for network access, equipment and system
CN110740376B (en) Improved content streaming device and method
US20200236550A1 (en) Methods, systems, and media for authenticating a connection between a user device and a streaming media content device
CN105430161B (en) Message treatment method and device
CN104935661A (en) Household appliances control method, device, router and terminal
CN107346115B (en) Control method and control terminal of intelligent device and intelligent device
CN105207994A (en) Account number binding method and device
CN105278336A (en) Application display method and apparatus, and terminal
CN105281994A (en) Working mode switching method and device
CN109819324A (en) A kind of information recommendation method and device and computer readable storage medium
CN106453032B (en) Information-pushing method and device, system
CN104378267A (en) Hinting method and device of equipment connecting
CN104637288B (en) Instruction group determines method and apparatus
CN104378596A (en) Method and device for conducting remote conversation with camera
CN106790018A (en) Resource-sharing player method and device
CN105307288A (en) Disconnecting method and device
CN113452583B (en) Account switching method and system, storage medium and processing device
CN111882711A (en) Door lock control method and system, storage medium and electronic device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40059953

Country of ref document: HK

GR01 Patent grant
GR01 Patent grant