WO2022033271A1 - 电子设备及其控制方法、可读存储介质 - Google Patents

电子设备及其控制方法、可读存储介质 Download PDF

Info

Publication number
WO2022033271A1
WO2022033271A1 PCT/CN2021/106898 CN2021106898W WO2022033271A1 WO 2022033271 A1 WO2022033271 A1 WO 2022033271A1 CN 2021106898 W CN2021106898 W CN 2021106898W WO 2022033271 A1 WO2022033271 A1 WO 2022033271A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic device
virtual room
user
room
invitation
Prior art date
Application number
PCT/CN2021/106898
Other languages
English (en)
French (fr)
Inventor
陈盼
Original Assignee
深圳市万普拉斯科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from CN202010799469.1A external-priority patent/CN114095605B/zh
Priority claimed from CN202010799468.7A external-priority patent/CN114095604A/zh
Application filed by 深圳市万普拉斯科技有限公司 filed Critical 深圳市万普拉斯科技有限公司
Publication of WO2022033271A1 publication Critical patent/WO2022033271A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/725Cordless telephones

Definitions

  • the present invention relates to the technical field of electronic devices, and in particular, to an electronic device, a control method thereof, and a readable storage medium.
  • the present invention provides a control method for an electronic device, which can control the restricted use of the electronic devices of multiple users.
  • a control method for an electronic device comprising the following steps:
  • control the electronic devices of the users in the virtual room to enter a lock mode, wherein when the electronic device is in the lock mode, the specified application and preset function of the electronic device are set to Disabled state.
  • the method further includes the step of creating an access control for the locked mode. If it is detected that the invited user is added to the virtual room through a web page, the trigger response function of the access control is activated, and the electronic The device can switch in or out of the lock mode by triggering the access control at any time; if it is detected that the invited user is added to the virtual room through the preinstalled lock application, the trigger response function of the access control is turned off.
  • the display interface of the electronic device of the invited user is displayed as a lock interface of the H5 page, and the entry and exit controls become effective. Trigger the response function.
  • the method further includes: within a preset time after the virtual room is created, if it is detected that the electronic device establishes a near-field communication connection with the electronic device with the login authority of the homeowner user, adding the corresponding user to the virtual room Room;
  • the step of adding the invited user to the virtual room includes: generating a room invitation code when creating the virtual room and sharing it on the electronic device of the invited user; if the received request code is consistent with the generated room invitation code , adding the corresponding invited user to the virtual room;
  • the step of adding the invited user to the virtual room includes: generating a room invitation link when creating the virtual room, and sending it to the electronic device of the invited user; if it is detected that the invitation link is opened, correspondingly The user is invited to enter the virtual room.
  • the step of controlling the electronic device of the user entering the virtual room to enter the lock mode includes:
  • the avatar of each user is controlled to move along the user's operation direction.
  • the method further includes the steps of enlarging the avatar of the host user user, and controlling the avatars of other users to move around the avatar of the host user.
  • the method further includes:
  • the electronic device of each user in the virtual room is controlled to enter a lock mode, and a lock interface is displayed on each user's electronic device.
  • a prompt message is generated and displayed on the lock interface of the electronic device that was switched out of the lock mode.
  • the method further includes:
  • an unlock interface is displayed on each electronic device, and a lock theme is displayed on the unlock interface.
  • the specified application or preset function that runs after the electronic device switches out of the lock mode is obtained, and the corresponding user information and the preset function are obtained.
  • the running application or preset function information is displayed on the unlocking interface of each user's electronic device in the virtual room.
  • the method further includes: when a shutdown request or a restart request is received, the shutdown request or restart request is not processed, or the shutdown request or restart request is not processed after being restarted, and the time does not reach the required time after the startup is turned on.
  • the above lock mode ends, keep the lock mode on.
  • a control method for an electronic device comprising the following steps:
  • the homeowner user terminal electronic device receives the room creation instruction input by the homeowner user, and creates a virtual room;
  • the homeowner's client electronic device sends an invitation to enter the virtual room
  • the invited client electronic device enters the virtual room in response to the room entry invitation
  • the homeowner client electronic device detects whether the invited user joins the virtual room according to a preset method
  • the homeowner's client electronic device detects that there are at least two users in the virtual room, it controls the electronic devices of the users in the virtual room to enter the lock mode.
  • the electronic device is in the lock mode, the specified application and preset of the electronic device The function is set to disabled.
  • a control method for an electronic device includes the following steps: receiving a house building operation instruction from a homeowner in a locking application, and establishing a virtual room including a locking theme and a locking duration attribute; if receiving a start operation input by the homeowner instruction, and it is detected that there are at least two users in the virtual room, control the electronic devices of all users in the virtual room to start the lock mode for the lock time period, when the electronic device is in the lock mode, the electronic The device's designated apps and default features are disabled.
  • the method further includes: generating invitation information, the invitation information including an invitation password; receiving a room entry password entered by the invited user in a pre-installed lock application, if the room entry password is the same as the If the invitation passwords are the same, the invited user will be added to the virtual room through the locked application pre-installed in the electronic device.
  • the method further includes: generating invitation information, where the invitation information includes an invitation password and an invitation link; receiving a room entry password entered by an invited user on a webpage that pops up after the invitation link is clicked, if If the password is the same as the invitation password, the invited user will be added to the virtual room through the web page that pops up after the invitation link is clicked.
  • the method further includes: when the electronic device is in a locked mode, if a request for joining the virtual room is detected, not responding to the request.
  • the method further includes: when the electronic device is in a locked mode, displaying a countdown interface on the locked applications of the electronic device of the homeowner user and the invited user; the countdown on the countdown interface reaches the When the lock time is long, the lock mode is exited.
  • the method further comprises: when the electronic device is in the lock mode, displaying a countdown interface on the webpage of the electronic device of the invited user who enters the virtual room through the invitation link; the countdown on the countdown interface arrives When the lock duration is long, exit the lock mode.
  • the method further includes: when the electronic device is in a lock mode, not processing a shutdown request or a restart request received, or rebooting and the time after turning on the device does not reach the end time of the lock mode , keep the lock mode turned on.
  • a control method for an electronic device comprising the following steps:
  • the homeowner's electronic device establishes a virtual room according to the house-building operation instruction input by the homeowner's user, the attributes of the virtual room include a locking theme and a locking duration, and the homeowner's electronic device sends an invitation to enter the virtual room;
  • the invited terminal electronic device sends a room entry request for entering the virtual room in response to the room entry invitation;
  • the homeowner's electronic device adds the invited user to the virtual room in response to the room entry request;
  • the homeowner-side electronic device receives the start-up operation instruction input by the homeowner, and if it detects that there are at least two users in the virtual room, controls the electronic devices of all users in the virtual room to start the lock mode, and lasts for the lock time period, When the electronic device is in the lock mode, the instruction application and the preset function of the electronic device are in a disabled state.
  • the method further includes:
  • the server generates invitation information according to the locking theme and the locking duration, where the invitation information includes an invitation password and an invitation link;
  • the homeowner's electronic device obtains the invitation information
  • the invited end electronic device generates a room entry request according to the invitation information.
  • an electronic device including a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor executes the execution as described in any of the above embodiments. The steps of the control method of the electronic device described above.
  • one or more non-volatile readable storage media storing computer-readable instructions
  • the computer-readable instructions when executed by one or more processors, cause the one or more processors to The steps of the method as described in any of the above embodiments are performed.
  • the above-mentioned electronic device, its control method, and readable storage medium by adding a plurality of users to the virtual room, and then controlling the electronic devices of the users in the virtual room to enter the locked mode, when the electronic devices of the respective users are in the locked mode, Specified applications and preset functions are disabled, so that the electronic devices of multiple users in the virtual room can be restricted from being used together, thereby reducing the interference of electronic devices.
  • FIG. 1 is a schematic flowchart of a control method of an electronic device according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram of an interface for creating a virtual room in an embodiment of the present invention
  • FIG. 3 is a schematic diagram of an invitation interface in an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of a display interface in an embodiment of the present invention.
  • FIG. 5 is a schematic diagram of an invitation interface and a sharing interface in an embodiment of the present invention.
  • 6a is a schematic diagram of a waiting interface in a specific embodiment of the present invention.
  • 6b is a schematic diagram of a locking interface in a specific embodiment of the present invention.
  • FIG. 7 is a schematic diagram of a locking interface in another specific embodiment of the present invention.
  • FIG. 8 is a schematic diagram of an unlocking interface in a specific embodiment of the present invention.
  • FIG. 9 is a schematic diagram of an interaction sequence of a method for controlling an electronic device according to an embodiment of the present invention.
  • FIG. 10 is a schematic flowchart of a control method for an electronic device according to an embodiment of the present application.
  • FIG. 11 is a schematic diagram of an interaction sequence between a homeowner and an invited end in a method for controlling an electronic device according to an embodiment of the present application
  • FIG. 12 is a schematic diagram of the interaction sequence of the host terminal, the invited terminal and the server of the control method of the electronic device according to the embodiment of the present application;
  • FIG. 13 is a schematic structural block diagram of an electronic device according to an embodiment of the present application.
  • An embodiment of the present invention provides a control method for an electronic device, which can enable the electronic devices of multiple users to enter a lock mode together, so that the users can concentrate on work or study without being disturbed by the electronic devices.
  • the electronic device may specifically refer to a mobile terminal such as a mobile phone and a tablet computer, and may also be a computer.
  • FIG. 1 is a schematic flowchart of a control method of an electronic device according to an embodiment of the present invention, including step 102 and step 104:
  • Step 102 Receive a room creation instruction input by the owner and user, and create a virtual room.
  • the room creation instruction input by the homeowner user may be received on the homeowner user terminal electronic device, and then a virtual room is created on the homeowner user terminal electronic device.
  • the room creation instruction may specifically be, but not limited to, a touch instruction or a voice instruction.
  • creating a virtual room further includes obtaining a preset lock duration input by the host user.
  • a lock duration input control may be created when the virtual room is created, and the user may input the preset lock duration through the input control.
  • the time that the electronic device of the user in the virtual room remains in the lock mode is the preset lock time period, and the lock mode is released when the lock time period expires.
  • a virtual room interface will be further displayed after the virtual room is created.
  • FIG. 2 is a schematic diagram of an interface for creating a virtual room in an embodiment of the present invention.
  • the room's owner user name and avatar are displayed on the virtual room creation interface.
  • Step 104 detecting whether the invited user joins the virtual room according to a preset method.
  • a room entry invitation may be sent to the electronic device of the invited user after the virtual room is created, and the invited user may be added to the virtual room after obtaining the room entry request returned by the electronic device of the invited user.
  • the room entry invitation may include, but is not limited to, invitation code, invitation link, and Near Field Communication (NFC) connection invitation.
  • the room entry request is the entered room entry code, invitation link click information, and NFC connection. ask.
  • the corresponding user is controlled to join the virtual room.
  • a room invitation code is generated when the virtual room is created and shared on the electronic device of the invited user; if the received request code is consistent with the generated room invitation code, the corresponding invited user Join the virtual room.
  • an invitation activation control can be created and displayed on the virtual room creation interface, for example, the "Next" control on the virtual room creation interface in Figure 2. If it is detected that the invitation activation control is triggered, the homeowner user's The electronic device displays an invitation interface, and the invitation interface includes an invitation control. If it is detected that the invitation control is triggered, the room invitation code is shared on the electronic device of the invited user.
  • FIG. 3 is an invitation interface diagram in an embodiment, and the “invite friends” control in FIG. 3 is an invitation control.
  • an interface (as shown in Figure 4a) is displayed on the electronic device of the invited user, and the interface may include a join room control and Create a room control, if the join room control is triggered, jump to the input interface (as shown in Figure 4b), which is used to input the room invitation code, if it is detected that the invited user has completed the input, the input request code is sent to the On the homeowner's electronic device, if it is consistent with the room invitation code, the corresponding invited user will be added to the virtual room.
  • the area where "keybord" in Fig. 4b is located is the soft keyboard area.
  • a room invitation link is generated when the virtual room is created, and sent to the electronic device of the invited user; if it is detected that the invitation link is opened, the corresponding invited user is added to the virtual room.
  • the invitation link and the invitation code can be sent to the electronic device of the invited client.
  • an input interface can be further displayed on the electronic device of the invited client. The request code entered on the input interface is the same as the invitation code, and the invited user is added to the virtual room.
  • the invitation control on the invitation interface of FIG. 5 a if it is detected that the invitation control on the invitation interface of FIG. 5 a is triggered, it jumps to the sharing interface of FIG. 5 b , where the instant messaging application icon is displayed on the sharing interface. Click to jump to the interface of the application, so as to send the invitation link, etc. to the corresponding invited user.
  • Step 106 if it is detected that there are at least two users in the virtual room, control the electronic equipment of the users in the virtual room to enter the lock mode, when the electronic equipment is in the lock mode, the specified application and preset function of the electronic equipment are set. is disabled.
  • the shutdown request or restart request is not processed, or the shutdown request or restart request is not processed, or the shutdown time is not reached after the shutdown and the end time of the lock mode is turned on. , keep the lock mode turned on.
  • the users in the virtual room should include the host user and at least one invited user.
  • the designated applications of the electronic device may include instant messaging applications, game applications, browsers, audio and video applications, and other applications that interfere with the user's concentration, and the preset functions may be functions such as input methods.
  • the specified application can include all the applications of the electronic device, or only specific applications, and the exception applications other than this can maintain the normal running state when the electronic device is in the locked mode, and these exception applications can be incoming calls, photo applications, etc.
  • the lock mode of each user's electronic device in the virtual room can be automatically turned on. For example, it is detected that the target invited users have joined the virtual room, and the virtual For the lock mode of each user in the room, in other implementations, the lock mode may also be turned on in response to a start operation instruction input by the homeowner user.
  • the room entry request may not be responded to, thereby achieving a shielding effect.
  • the control method of the electronic device further includes the step of creating an access control for the lock mode.
  • the preset method referred to in step 104 may be a method through a web page or a method through a pre-installed locking application.
  • the trigger response function of the access control will take effect, and the electronic device corresponding to the control invited user can be switched in or out by triggering the access control at any time. out of lock mode.
  • the trigger response function of the access control is disabled.
  • the pre-installed locking application may be an APP pre-downloaded independently by the electronic device, or may be a built-in pre-installed function of the electronic device.
  • a user who joins a virtual room through a web page on an electronic device without a pre-installed lock application can switch in or out of the lock mode at any time without restriction to open a specified application or preset function, while for those who enter the virtual room through the lock application, Users, can control their electronic devices from the bottom, so that specific applications or preset functions of these electronic devices can not be used when they are in locked mode.
  • an invitation code, an invitation link or an NFC connection method may be used, and the invited user may be added to the virtual room through a pre-installed lock application.
  • the invitation link method may be adopted, and the invited user may be added to the virtual room through a web page.
  • a waiting interface can be generated and displayed on the electronic devices of each user in the virtual room and displayed on the electronic device of each user in the virtual room.
  • the avatars of each user are arranged on the waiting interface; if the user's operation action on the waiting interface is detected, the avatars of each user are controlled to move with the user's operation direction. In this way, the user's interest in waiting to enter the lock mode can be enhanced.
  • the avatars of each user when the avatars of each user are controlled to move with the user's operation direction, the avatars of the host user can be enlarged, and the avatars of other users can be controlled to move around the avatars of the host user.
  • the homeowner of the virtual room may be highlighted.
  • FIG. 6a which is a schematic diagram of a waiting interface in a specific embodiment, the head portrait of the homeowner of the waiting interface is enlarged and is in the middle area.
  • control method for the electronic device further includes: creating a virtual startup control, and displaying the virtual startup control on the waiting interface described in the foregoing embodiment; If the terminal electronic device is triggered, the electronic device of each user in the virtual room is controlled to enter the lock mode, and the lock interface is displayed on the electronic device of each user.
  • the virtual start control can be displayed on the waiting interface shown in FIG. 6a, and if the virtual control is triggered, the lock mode is executed and the lock interface shown in FIG. 6b is displayed.
  • the waiting interface in FIG. 6a also displays an invitation control, homeowner information, the name of the user who has joined the room, and the preset locking duration.
  • a lock interface of an H5 page (html5 page) is displayed on the display interface of the electronic device of the invited user, and all The trigger response function of the access control is described above.
  • the user can switch in or out of the lock mode by triggering the access control.
  • the lock interface of the H5 page can be the same as the lock interface in Figure 6b, so that the lock interface styles of the electronic device entering the lock mode through the webpage and the electronic device entering the lock mode through the pre-installed lock application are the same, so that the users in the room have the same viewing experience.
  • a prompt message is generated and displayed on the lock interface of the electronic device that was switched out of the lock mode.
  • a user who joins via a webpage during the locking period leaves the locked mode and returns to the virtual room, and a prompt message will be generated on the locking interface of the electronic device, thereby reminding the user to reduce the number of times of exiting the locked mode.
  • an unlock interface may be displayed after each user's electronic device in the virtual room exits the lock mode, and a lock theme may be displayed on the unlock interface, and the lock theme may allow users in the virtual room to put down the focused content of the electronic device together, for example Learning themes.
  • the user's focused content in the virtual room can be recorded.
  • a user who joins a virtual room through a web page can exit the locked mode at any time without restriction.
  • the specified application or preset function that is run after the electronic device is switched out of the lock mode is obtained, and after the lock mode is ended, the corresponding User information and running applications or preset function information are displayed on the unlocking interface of each user's electronic device in the virtual room.
  • the users in the room can quickly obtain the concentration of each user.
  • FIG. 8 is a schematic diagram of an unlocking interface in a specific embodiment
  • the unlocking interface may further include a sharing virtual control, and if it is detected that the sharing virtual control is triggered, the locking information of the virtual room may be shared to the cloud.
  • the unlocking interface may also include a sharing and continuing lock control. If it is detected that the homeowner user manipulates the continued lock control, the electronic devices of each user in the virtual room can be controlled to continue to enter the lock mode.
  • steps in the method flow chart in FIG. 1 are shown in sequence according to the arrows, these steps are not necessarily executed in the sequence shown by the arrows. Unless explicitly stated herein, the execution of these steps is not strictly limited to the order, and these steps may be performed in other orders. Moreover, at least a part of the steps in FIG. 1 may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed and completed at the same time, but may be executed at different times. The execution of these sub-steps or stages The order is also not necessarily sequential, but may be performed alternately or alternately with other steps or sub-steps of other steps or at least a portion of a phase.
  • An embodiment of the present invention further provides a control method for an electronic device, and the electronic devices participating in the control method include a homeowner user-end electronic device and an invited user-end electronic device.
  • FIG. 9 it is a schematic diagram of an interaction sequence of a control method for an electronic device in an embodiment, including the following interaction steps: S202, the homeowner user-end electronic device receives a room creation instruction input by the homeowner user, and creates a virtual room; S204 , the homeowner's client electronic device sends a room-entry invitation to enter the virtual room, S206, the invited client's electronic device responds to the room-entry invitation, S208, sends a room-entry request to enter the virtual room; S210, the homeowner The client electronic device adds the invited user to the virtual room in response to the room entry request, and also detects whether the invited user joins the virtual room according to a preset method. If it is detected that the virtual room includes at least two users, it controls the The electronic device of the user in the virtual room enters the lock mode.
  • the above-mentioned electronic device, its control method, and readable storage medium by adding a plurality of users to the virtual room, and then controlling the electronic devices of the users in the virtual room to enter the locked mode, when the electronic devices of the respective users are in the locked mode, Specified applications and preset functions are disabled, so that the electronic devices of multiple users in the virtual room can be restricted from being used together, which is conducive to the collective concentration of multiple users.
  • an embodiment of the present application provides a method for controlling an electronic device, including: S302, receiving a house building operation instruction from a homeowner in a locking application, and creating a virtual room including a locking theme and a locking duration attribute; S304, if After receiving the start operation instruction input by the homeowner, and detecting that there are at least two users in the virtual room, control the electronic devices of all users in the virtual room to start the lock mode, and keep the lock time for a long time.
  • the electronic device is in the lock mode, the electronic The device's designated apps and default features are disabled.
  • the lock mode is activated on the electronic devices of all users in the virtual room, and the lock mode is continued for a long time, so that the electronic device command applications and preset functions of all users in the virtual room are deactivated, and the user It is impossible to interact with the electronic device, so that the user cannot use the electronic device normally, so as to achieve the purpose of putting down the electronic device together by multiple users.
  • locking the theme can make the invited users intuitively understand the content of the activities that they focus on collectively after joining the virtual room, which is beneficial for the invited users to join the corresponding virtual room in a targeted manner according to their own situation.
  • the locked application in this embodiment may be an application preinstalled by the electronic device, or may be an application downloaded and installed independently by the electronic device.
  • control method for the electronic device may further include: generating invitation information, where the invitation information includes an invitation password; receiving a room entry password entered by an invited user in a pre-installed lock application, if the room entry password is consistent with the invitation password , invites users to join the virtual room through the locked in-app pre-installed on their electronic device.
  • the lock application preinstalled on the electronic device of the invited user can directly enter the virtual room when the room entry password is the same as the invitation password.
  • control method for the electronic device may further include: generating invitation information, where the invitation information includes an invitation password and an invitation link; receiving a room entry password entered by an invited user on a webpage that pops up after the invitation link is clicked, if If the password is the same as the invitation password, the invited user will be added to the virtual room through the web page that pops up after the invitation link is clicked.
  • the electronic device of the invited user In the case where the electronic device of the invited user is not pre-installed with a lock application, the electronic device of the invited user needs to access the invitation link. Join the virtual room on the webpage when visiting the invitation link.
  • the control method for the electronic device may further include: when the electronic device is in the lock mode, if request information for joining the virtual room is detected, not responding to the request information.
  • the command applications and preset functions of all user electronic devices in the room are disabled, and other users are prohibited from joining the virtual room at this time.
  • the control method of the electronic device further includes: when the electronic device is in the lock mode, displaying a countdown interface on the lock application of the electronic device of the homeowner user and the invited user; and exiting the lock mode when the countdown on the countdown interface reaches the lock duration.
  • the control method of the electronic device may further include: when the electronic device is in the lock mode, displaying a countdown interface on the webpage of the electronic device of the invited user who enters the virtual room through the invitation link; when the countdown on the countdown interface reaches the lock duration, exit the lock model.
  • the invited user can be made aware of the time until the lock mode is released.
  • the control method of the electronic device further includes: when the electronic device is in the lock mode, not processing a shutdown request or a restart request received, or when the electronic device is restarted and the time after power on does not reach the end time of the lock mode, keeping the lock mode on.
  • An embodiment of the present application further provides a control method for an electronic device, and the involved electronic devices include a homeowner-end electronic device and an invited user-end electronic device.
  • the involved electronic devices include a homeowner-end electronic device and an invited user-end electronic device.
  • FIG. 11 is a schematic diagram of the interaction sequence of the control method of the electronic device. The interaction process is as follows:
  • the homeowner's electronic device establishes a virtual room according to the house building operation instruction input by the homeowner, and the properties of the virtual room include a locking theme and a locking duration;
  • the homeowner's electronic device issues an invitation to enter the virtual room;
  • S406 The invited user terminal electronic device sends a room entry request to enter the virtual room in response to the room entry invitation;
  • S408 in the case of at least two users in the virtual room, the homeowner terminal electronic device receives the activation of the homeowner input
  • the operation instruction locks the electronic devices of all users in the virtual room.
  • the method for the homeowner's electronic device and the invited end's electronic device to enter the lock mode is as follows: S502.
  • the main-side electronic device establishes a virtual room according to the house-building operation instruction input by the homeowner user, and the properties of the virtual room include the locking theme and the locking duration; S504, the server-side generates invitation information for entering the virtual room according to the properties of the virtual room, and the invitation information includes Exclusive password and invitation link; S506, the homeowner obtains the invitation information; S508, the homeowner's electronic device sends the invitation information to the invited end; S510, the invited end generates a breast request according to the invitation information, and S512, the invited end applies to enter the virtual room ; S514, after the electronic device of the homeowner determines that the application of the invited end matches the invitation information, the invited user is added to the virtual room, and after the electronic device of the homeowner receives the startup operation instruction input by the homeowner, all users in the virtual room electronic device locked.
  • an electronic device is provided, and the electronic device may be a mobile terminal, and FIG. 13 provides an internal structure diagram of the electronic device.
  • the electronic device includes a processor, memory, and a display screen connected by a system bus. Among them, the processor is used to provide computing and control capabilities.
  • the memory includes a non-volatile storage medium and an internal memory.
  • the nonvolatile storage medium stores an operating system and a computer program.
  • the internal memory provides an environment for the execution of the operating system and computer programs in the non-volatile storage medium.
  • the methods performed by the electronic device in FIGS. 1 , 9 , 10 , 11 and 12 may be specifically performed by the processor of the electronic device, that is, when the computer program is executed by the processor, a Control method of electronic equipment.
  • FIG. 13 is only a block diagram of a partial structure related to the solution of the present application, and does not constitute a limitation on the terminal to which the solution of the present application is applied.
  • the specific electronic equipment may include There are more or fewer components than shown in the figures, or some components are combined, or have a different arrangement of components.
  • an electronic device including a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program:
  • control the electronic devices of the users in the virtual room to enter a lock mode, wherein when the electronic device is in the lock mode, the specified application and preset function of the electronic device are set to Disabled state.
  • the processor executes the computer program, the following steps are further implemented: the step of creating an access control for the lock mode, and if it is detected that the invited user is added to the virtual room through a web page, the trigger response function of the access control is activated.
  • the control electronic device can switch in or out of the lock mode by triggering the access control at any time; if it is detected that the invited user is added to the virtual room through the preinstalled locking application, the trigger response function of the access control is turned off.
  • the processor when the processor executes the computer program, the processor further implements the following steps: if it is detected that the invited user is added to the virtual room through a web page, displaying an H5 page on the display interface of the electronic device of the invited user The lock interface takes effect for the trigger response function of the access control.
  • the processor when the processor executes the computer program, the processor further implements the following steps: within a preset time after the virtual room is created, if it is detected that the electronic device establishes a near field communication connection with the electronic device with the login authority of the homeowner user, the corresponding the user joins the virtual room;
  • the processor also implements the following steps when executing the computer program: generating a room invitation code when creating the virtual room and sharing it on the electronic device of the invited user; if the received request code is consistent with the generated room invitation code, the corresponding Invited users to join the virtual room;
  • a room invitation link is generated when the virtual room is created, and sent to the electronic device of the invited user; if it is detected that the invitation link is opened, the corresponding invited user will enter the virtual room.
  • the processor further implements the following steps when executing the computer program: generating a waiting interface and displaying it on the electronic equipment of each user in the virtual room, and arranging the avatars of each user on the waiting interface;
  • the avatar of each user is controlled to move along the user's operation direction.
  • the processor executes the computer program
  • the following steps are further implemented: the steps of enlarging the avatar of the homeowner user user, and controlling the avatars of other users to move around the homeowner user avatar.
  • the processor further implements the following steps when executing the computer program:
  • the electronic device of each user in the virtual room is controlled to enter a lock mode, and a lock interface is displayed on each user's electronic device.
  • the processor executes the computer program, the following steps are further implemented: if it is detected that the electronic device enters the locked mode after being switched out of the locked mode, a prompt message is generated and displayed on the locking interface of the electronic device that is switched out of the locked mode.
  • the processor when the processor executes the computer program, the processor further implements the following steps: acquiring a preset locking duration for entering the locking mode, and when detecting the arrival of the preset locking duration, controlling the electronic devices of each user in the virtual room Exit lock mode.
  • the processor when the processor executes the computer program, the processor further implements the following steps: after controlling the electronic devices of each user in the virtual room to exit the locked mode, displaying an unlocking interface on each electronic device, and displaying a locking theme on the unlocking interface.
  • the processor executes the computer program, the following steps are further implemented: if it is detected that the electronic device switches out of the lock mode through a webpage within a preset lock time period, acquiring a specified application or program that runs after the electronic device switches out of the lock mode.
  • the preset function is to display the corresponding user information and the running application or preset function information on the unlocking interface of each user's electronic device in the virtual room.
  • the processor when the processor executes the computer program, the processor further implements the following steps: when a shutdown request or restart request is received, the shutdown request or restart request is not processed, or the computer is restarted and the time does not reach the required time after the computer is turned on. When the above lock mode ends, keep the lock mode on.
  • an electronic device including a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program:
  • the homeowner user terminal electronic device receives the room creation instruction input by the homeowner user, and creates a virtual room;
  • the homeowner's client electronic device sends an invitation to enter the virtual room
  • the invited client electronic device enters the virtual room in response to the room entry invitation
  • the homeowner client electronic device detects whether the invited user joins the virtual room according to a preset method
  • the homeowner's client electronic device detects that there are at least two users in the virtual room, it controls the electronic devices of the users in the virtual room to enter the lock mode.
  • the electronic device is in the lock mode, the specified application and preset of the electronic device The function is set to disabled.
  • an electronic device including a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program:
  • Each user controls the electronic devices of all users in the virtual room to activate the lock mode for the lock time period. When the electronic device is in the lock mode, the command application and preset functions of the electronic device are disabled.
  • the processor when the processor executes the computer program, it further implements the following steps: generating invitation information, where the invitation information includes an invitation password; If the room password is the same as the invitation password, the invited user is added to the virtual room through the lock application preinstalled in the electronic device.
  • the processor further implements the following steps when executing the computer program: generating invitation information, where the invitation information includes an invitation password and an invitation link; receiving a room entry password entered by the invited user on a webpage that pops up after the invitation link is clicked , if the room-entry password is the same as the invitation password, the invited user will be added to the virtual room through the web page that pops up after the invitation link is clicked.
  • the processor when the processor executes the computer program, the processor further implements the following steps: when the electronic device is in the lock mode, if the request message for joining the virtual room is detected, the request message is not responded to.
  • the processor when the processor executes the computer program, it further implements the following steps: when the electronic device is in the locked mode, displaying a countdown interface on the locked application of the electronic device of the homeowner user and the invited user; When the countdown reaches the lock duration, exit the lock mode.
  • the processor when the processor executes the computer program, it further implements the following steps: when the electronic device is in the locked mode, displaying a countdown interface on the webpage of the electronic device of the invited user who enters the virtual room through the invitation link; on the countdown interface When the countdown on the device reaches the lock duration, exit the lock mode.
  • the processor when the processor executes the computer program, the processor further implements the following steps: when the electronic device is in a lock mode, do not process a shutdown request or a restart request received, or restart the device and the time does not reach the lock after the device is turned on. When the mode ends, keep the lock mode on.
  • the homeowner-side electronic device establishes a virtual room according to the house-building operation instruction input by the homeowner user, and the properties of the virtual room include a locking theme and a locking duration,
  • the host-side electronic device sends a room-entry invitation to enter the virtual room;
  • the invited client-side electronic device responds to the room-entry invitation and sends a room-entry request to enter the virtual room;
  • the home-owner's electronic device responds to the room-entry request Add the invited user to the virtual room;
  • the homeowner's electronic device receives the start-up operation instruction input by the homeowner, and if it is detected that there are at least two users in the virtual room, controls the electronic devices of all users in the virtual room to start
  • the lock mode lasts for the lock time period.
  • the instruction application and the preset function of the electronic device are in a disabled state.
  • the processor further implements the following steps when executing the computer program: the server generates invitation information according to the locking theme and the locking duration, where the invitation information includes an invitation password and an invitation link; the homeowner's electronic device obtains the invitation information; The invited end electronic device generates a room entry request according to the invitation information.
  • a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the following steps are further implemented: receiving a house-building operation instruction from a homeowner in a locking application, creating a virtual room, the properties of the virtual room include the lock theme and the lock duration; receive the start-up operation instruction input by the homeowner, if it is detected that there are at least two users in the virtual room, control the start-up of the electronic devices of all users in the virtual room
  • the lock mode lasts for the lock time period.
  • the instruction application and the preset function of the electronic device are in a disabled state.
  • the following steps are further implemented: generating invitation information, where the invitation information includes an invitation password; If the room entry password is the same as the invitation password, the invited user is added to the virtual room through the lock application preinstalled in the electronic device.
  • the following steps are further implemented: generating invitation information, where the invitation information includes an invitation password and an invitation link; receiving a room entry entered by the invited user on a webpage that pops up after the invitation link is clicked password. If the room entry password is the same as the invitation password, the invited user will be added to the virtual room through the webpage that pops up after the invitation link is clicked.
  • the computer program when executed by the processor, further implements the following steps: when the electronic device is in the lock mode, if the request message for joining the virtual room is detected, the request message is not responded to.
  • the computer program when executed by the processor, further implements the following steps: when the electronic device is in the locked mode, displaying a countdown interface on the locked application of the electronic device of the homeowner user and the invited user; on the countdown interface When the countdown reaches the lock duration, exit the lock mode.
  • the computer program when executed by the processor, further implements the following steps: when the electronic device is in the locked mode, displaying a countdown interface on the webpage of the electronic device of the invited user who enters the virtual room through the invitation link; When the countdown on the interface reaches the lock duration, exit the lock mode.
  • the computer program when executed by the processor, it further implements the following steps: when the electronic device is in the lock mode, do not process a shutdown request or a restart request received, or reboot and the time does not reach the When the lock mode ends, keep the lock mode on.
  • the homeowner-side electronic device establishes a virtual room according to the house-building operation instruction input by the homeowner user, and the properties of the virtual room include a locking theme and a locking duration , the homeowner's electronic device sends a room-entry invitation to the virtual room; the invited user-end electronic device responds to the room-entry invitation and sends a room-entry request to the virtual room; the homeowner's electronic device responds to the room-entry Request to add the invited user to the virtual room; the homeowner's electronic device receives the start-up operation instruction input by the homeowner, and if it detects that there are at least two users in the virtual room, controls the electronic devices of all users in the virtual room
  • the lock mode is activated and lasts for the lock time period. When the electronic device is in the lock mode, the instruction application and the preset function of the electronic device are in a deactivated state.
  • the server when the computer program is executed by the processor, the following steps are further implemented: the server generates invitation information according to the locking theme and the locking duration, where the invitation information includes an invitation password and an invitation link; the homeowner's electronic device obtains the invitation information ; The invited terminal electronic device generates a room entry request according to the invitation information.
  • Nonvolatile memory may include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory.
  • Volatile memory may include random access memory (RAM), which acts as external cache memory.
  • RAM is available in various forms such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous Link (Synchlink) DRAM (SLDRAM), Memory Bus (Rambus) Direct RAM (RDRAM), Direct Memory Bus Dynamic RAM (DRDRAM), and Memory Bus Dynamic RAM (RDRAM).
  • SRAM static RAM
  • DRAM dynamic RAM
  • SDRAM synchronous DRAM
  • DDR SDRAM double data rate SDRAM
  • ESDRAM enhanced SDRAM
  • SLDRAM synchronous Link (Synchlink) DRAM
  • SLDRAM synchronous Link (Synchlink) DRAM
  • Memory Bus Radbus
  • RDRAM Direct RAM
  • DRAM Direct Memory Bus Dynamic RAM
  • RDRAM Memory Bus Dynamic RAM

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本发明公开一种电子设备及其控制方法,以及一种可读存储介质,可以控制多个电子设备的使用,接收房主用户输入的房间创建指令,创建虚拟房间;检测受邀用户是否根据预设方式加入所述虚拟房间;若检测到所述虚拟房间内至少包括两个用户,控制所述虚拟房间内用户的电子设备进入锁定模式,当电子设备处于锁定模式时,电子设备的指定应用和预设功能被设为停用状态。

Description

电子设备及其控制方法、可读存储介质 【技术领域】
本发明涉及电子设备技术领域,特别是涉及一种电子设备及其控制方法、可读存储介质。
【背景技术】
随着手机等电子设备普遍使用,在各种场合都会发现用户们电子设备不离身,沉浸于电子设备中的虚拟世界。但实际生活中,例如在一些团体活动中,为了让大家尽量专注某一项活动,用户往往希望可以跟该项活动相关的用户一起被限制使用电子设备。发明人研究发现,目前的技术还无法实现这项功能。
【发明内容】
基于此,本发明提供一种电子设备的控制方法,可以控制多个用户的电子设备被限制使用。
第一方面,提出一种电子设备的控制方法,包括以下步骤:
接收房主用户输入的房间创建指令,创建虚拟房间;
检测受邀用户是否根据预设方式加入所述虚拟房间;
若检测到所述虚拟房间内至少包括两个用户,控制所述虚拟房间内用户的电子设备进入锁定模式,其中,当电子设备处于锁定模式时,电子设备的指定应用和预设功能被设为停用状态。
在其中一个实施例中,所述方法还包括为锁定模式创建进出控件的步骤,若检测到通过网页将受邀用户加入所述虚拟房间,生效所述进出控件的触发响应功能,控制所述电子设备可随时通过触发所述进出控件切入或切出锁定模式;若检测到通过预装的锁定应用将受邀用户加入所述虚拟房间,关闭所述进出控件的触发响应功能。
在其中一个实施例中,若检测到通过网页将受邀用户加入所述虚拟房间,则在所述受邀用户的电子设备的显示界面上展示为H5页面的锁定界面,生效所述进出控件的触发响应功能。
在其中一个实施例中,所述方法还包括:创建虚拟房间后的预设时间内,若检测到电子设备与房主用户登录权限的电子设备建立近场通信连接,将相应用户加入所述虚拟房间;
或者,
所述将受邀用户加入所述虚拟房间的步骤包括:在创建所述虚拟房间时生成房间邀请码并分享至受邀用户的电子设备上;若接收到的请求码与生成的房间邀请码一致,将对应的受邀用户加入所述虚拟房间;
或者,
所述将受邀用户加入所述虚拟房间的步骤包括:在创建所述虚拟房间时生成房间邀请链接,发送到受邀用户的电子设备上;若检测到所述邀请链接被打开,将相应受邀用户进入所述虚拟房间。
在其中一个实施例中,所述控制进入所述虚拟房间内用户的电子设备进入锁定模式之前的步骤包括:
生成等待界面展示在所述虚拟房间内各个用户的电子设备上,并在所述等待界面上排列各个用户的头像;
若检测用户在所述等待界面上的操作动作,控制各个用户的头像随用户的操作方向移动。
在其中一个实施例中,所述方法还包括放大房主用户用户的头像,控制其他用户的头像围绕在房主用户头像移动的步骤。
在其中一个实施例中,所述方法还包括:
创建虚拟启动控件,在所述等待界面展示所述虚拟启动控件;
若检测到在房主用户端电子设备上检测到所述虚拟启动控件被触发,则控制所述虚拟房间内的各个用户的电子设备进入锁定模式,并在各个用户电子设备上显示锁定界面。
在其中一个实施例中,若检测到电子设备切出锁定模式后进入锁定模式,生成提示信息,并展示在切出锁定模式的电子设备的锁定界面上。
在其中一个实施例中,所述方法还包括:
获取进入所述锁定模式的预设锁定时长,当检测到所述预设锁定时长到达时,控制虚拟房间内各个用户的电子设备退出锁定模式。
在其中一个实施例中,控制虚拟房间内各个用户的电子设备退出锁定模式后,在各电子设备上显示解锁界面,并在所述解锁界面显示锁定主题。
在其中一个实施例中,若检测到电子设备在预设锁定时长内通过网页切出锁定模式,获取所述电子设备切出锁定模式后运行的指定应用或预设功能,将对应的用户信息和运行的应用或预设功能信息显示在虚拟房间各个用户的电子设备的解锁界面上。
在其中一个实施例中,所述进入锁定模式之后,还包括:当接收到关机请求或重启请求时,对所述关机请求或重启请求不处理,或者在重新开机、且开机后时间未到达所述锁定模式的结束时间时,保持开启 锁定模式。
第二方面,提出一种电子设备的控制方法,包括以下步骤:
房主用户端电子设备接收房主用户输入的房间创建指令,创建虚拟房间;
房主用户端电子设备发出进入所述虚拟房间的入房邀请;
受邀用户端电子设备响应所述入房邀请进入虚拟房间;
房主用户端电子设备检测受邀用户是否根据预设方式加入所述虚拟房间;
若房主用户端电子设备检测到所述虚拟房间内至少包括两个用户,控制所述虚拟房间内用户的电子设备进入锁定模式,当电子设备处于锁定模式时,电子设备的指定应用和预设功能被设为停用状态。
第三方面,提出一种电子设备的控制方法,包括以下步骤:接收房主在锁定应用内的建房操作指令,建立包含锁定主题和锁定时长属性的虚拟房间;若接收房主输入的启动操作指令,且检测到所述虚拟房间内至少有两个用户,则控制所述虚拟房间内所有用户的电子设备启动锁定模式,并持续所述锁定时长,当电子设备处于锁定模式时,所述电子设备的指定应用和预设功能为停用状态。
在其中一个实施例中,所述方法还包括:生成邀请信息,所述邀请信息包括邀请密码;接收受邀用户在预装的锁定应用内输入的入房密码,若所述入房密码与所述邀请密码一致,则将受邀用户通过其电子设备中预装的锁定应用内加入所述虚拟房间。
在其中一个实施例中,所述方法还包括:生成邀请信息,所述邀请信息包括邀请密码和邀请链接;接收受邀用户在邀请链接被点击后弹出的网页输入的入房密码,若入房密码与所述邀请密码一致,则通过邀请链接被点击后弹出的网页将受邀用户加入所述虚拟房间。
在其中一个实施例中,所述方法还包括:当电子设备处于锁定模式时,若检测到加入所述虚拟房间的请求信息时,不响应所述请求信息。
在其中一个实施例中,所述方法还包括:当电子设备处于锁定模式时,在房主用户及受邀用户电子设备的锁定应用上显示倒计时界面;在所述倒计时界面上的倒计时到达所述锁定时长时,退出所述锁定模式。
在其中一个实施例中,所述方法还包括:当电子设备处于锁定模式时,在通过邀请链接进入虚拟房间的受邀用户电子设备的网页上显示倒计时界面;在所述倒计时界面上的倒计时到达所述锁定时长时,退出所述锁定模式。
在其中一个实施例中,所述方法还包括:当电子设备处于锁定模式时,对接收到关机请求或重启请求不处理,或者在重新开机、且开机后时间未到达所述锁定模式的结束时间时,保持开启锁定模式。
第四方面,提出一种电子设备的控制方法,包括以下步骤:
房主端电子设备根据房主用户输入的建房操作指令,建立虚拟房间,所述虚拟房间的属性包括锁定主题和锁定时长,房主端电子设备发出进入所述虚拟房间的入房邀请;
受邀端电子设备响应所述入房邀请发出进入所述虚拟房间的入房请求;
房主端电子设备响应所述入房请求将受邀用户加入所述虚拟房间;
房主端电子设备接收房主输入的启动操作指令,若检测到所述虚拟房间内至少有两个用户,控制所述虚拟房间内所有用户的电子设备启动锁定模式,并持续所述锁定时长,当电子设备处于锁定模式时,所述电子设备的指令应用和预设功能为停用状态。
在其中一个实施例中,所述方法还包括:
服务器根据锁定主题、锁定时长生成邀请信息,所述邀请信息包括邀请密码及邀请链接;
房主端电子设备获取所述邀请信息;
受邀端电子设备根据所述邀请信息生成入房请求。
第五方面,提出一种电子设备,包括存储器及处理器,所述存储器中储存有计算机程序,所述计算机程序被所述处理器执行时,使得所述处理器执行如上任一实施例中所述的电子设备的控制方法的步骤。
第六方面,提出一个或多个存储有计算机可读指令的非易失性可读存储介质,所述计算机可读指令被一个或多个处理器执行时,使得所述一个或多个处理器执行如上任一实施例中所述的方法的步骤。
上述电子设备及其控制方法、可读存储介质,通过将多个用户加入所述虚拟房间,然后控制所述虚拟房间内用户的电子设备进入锁定模式,当各个用户的电子设备处于锁定模式时,指定应用和预设功能被停用,因此可以实现虚拟房间内多个用户的电子设备一起被限制使用,减少电子设备的干扰。
【附图说明】
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为本发明一实施例中的电子设备的控制方法的流程示意图;
图2为本发明一实施例中一虚拟房间的创建界面的示意图;
图3为本发明一个实施例中的邀请界面示意图;
图4为本发明一个实施例中的一显示界面示意图;
图5为本发明一个实施例中邀请界面和分享界面的示意图;
图6a为本发明一个具体实施例中的等待界面示意图;
图6b为本发明一个具体实施例中的锁定界面示意图;
图7为另本发明一个具体实施例中的锁定界面示意图;
图8为本发明一具体实施例中的解锁界面的示意图;
图9为本发明一实施例中的电子设备的控制方法的交互时序示意图;
图10是本申请实施例电子设备的控制方法流程示意图;
图11是本申请实施例电子设备的控制方法的房主端及受邀端的的交互时序示意图;
图12是本申请实施例电子设备的控制方法的房主端、受邀端及服务器的交互时序示意图;
图13是本申请实施例电子设备的结构示意框图。
【具体实施方式】
下面结合附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅是本发明一部分实施例,而非全部实施例。基于本发明中的实施例,本领域技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。在不冲突的情况下,下述各个实施例及其技术特征可以相互组合。
本发明实施例提出一种电子设备的控制方法,可以使多个用户的电子设备一起进入锁定模式,从而使用户免受电子设备干扰,专注工作或学习。该电子设备具体可指手机、平板电脑等移动终端,还可以是电脑。
请参阅图1,为本发明一实施例中的电子设备的控制方法的流程示意图,包括步骤102和步骤104:
步骤102,接收房主用户输入的房间创建指令,创建虚拟房间。
具体实现时,可以在房主用户端电子设备上接收房主用户输入的房间创建指令,然后在房主用户端电子设备创建虚拟房间。房间创建指令具体可以但不限于是一触控指令或语音指令。
在一些实施方式中,创建虚拟房间还包括获取房主用户输入的预设锁定时长,具体可以在创建虚拟房间时创建锁定时长输入控件,用户可以通过该输入控件输入预设锁定时长,后续步骤中虚拟房间内用户的电子设备持续锁定模式的时间为该预设锁定时长,锁定时长到则解除锁定模式。
进一步地,在一些实施方式中,创建虚拟房间后还会进一步显示虚拟房间界面,请参阅图2,为本发明一实施例中一虚拟房间的创建界面的示意图,可以将锁定时长和创建该虚拟房间的房主用户姓名和头像展示在该虚拟房间创建界面上。
步骤104,检测受邀用户是否根据预设方式加入所述虚拟房间。
具体实现时,可以在创建虚拟房间后向受邀用户的电子设备发出入房邀请,获取受邀用户的电子设备返回的入房请求后,将受邀用户加入所述虚拟房间。入房邀请可以包括但不限于为邀请码、邀请链接、近场通信(Near Field Communication,简称NFC)连接邀请,对应地,入房请求则为输入的入房码,邀请链接点击信息、NFC连接请求。
以下简述通过邀请码、邀请链接和NFC连接方式将受邀用户加入所述虚拟房间的实施例。
在一些实施方式中,创建虚拟房间后的预设时间内,若检测到电子设备与房主用户的电子设备建立近场通信连接,则控制相应用户加入所述虚拟房间。
在另一些实施方式中,在创建所述虚拟房间时生成房间邀请码并分享至受邀用户的电子设备上;若接收到的请求码与生成的房间邀请码一致,则将对应的受邀用户加入所述虚拟房间。
具体实现时,可以创建一邀请启动控件,并显示在虚拟房间创建界面上,例如图2中虚拟房间创建界面上的“下一步”控件,若检测到邀请启动控件被触发,在房主用户的电子设备显示一邀请界面,邀请界面上包括一邀请控件,若检测到该邀请控件被触发,则将房间邀请码享至受邀用户的电子设备上。请参阅图3,为一个实施例中的邀请界面图,图3中的“邀请好友”控件为邀请控件。
如图4所示,将房间邀请码分享至受邀用户的电子设备上后,在受邀用户端电子设备上显示一界面(如图4a所示),该界面上可包括一加入房间控件和建立房间控件,若所述加入房间控件被触发,跳转到输入界面(如图4b所示),用于输入房间邀请码,若检测到受邀用户完成输入,将该输入的请求码发送到房主端电子设备上,如与房间邀请码一致,则将对应的受邀用户加入所述虚拟房间。图4b中的“keybord”所在的区域为软键盘区域,具体实现时,若检测图4a中的建立房间控件被触发,则可以跳转到图2中虚拟房间创建界面。
在另一些实施方式中,在创建所述虚拟房间时生成房间邀请链接,发送到受邀用户的电子设备上;若检测到所述邀请链接被打开,将相应受邀用户加入所述虚拟房间。具体地,可以将邀请链接和邀请码一起 发送到受邀用户端电子设备上,若检测到邀请链接被打开,可进一步在受邀用户端电子设备上显示一输入界面,若检测到受邀用户在输入界面输入的请求码与邀请码一致,将该受邀用户加入虚拟房间。
具体实现时,如图5所示,若检测到图5a的邀请界面上的邀请控件被触发,跳转到图5b的分享界面,该分享界面显示有即时通信应用图标,若检测到应用图标被点击,则跳转到该应用的界面,从而将邀请链接等发送给对应的受邀用户。
步骤106,若检测到所述虚拟房间内至少包括两个用户,控制所述虚拟房间内用户的电子设备进入锁定模式,当电子设备处于锁定模式时,电子设备的指定应用和预设功能被设为停用状态。
在一些实施方式中,进入锁定模式之后,当接收到关机请求或重启请求时,对所述关机请求或重启请求不处理,或者在重新开机、且开机后时间未到达所述锁定模式的结束时间时,保持开启锁定模式。
具体实现时,虚拟房间内的用户应包括房主用户和至少一个受邀用户。
具体地,电子设备的指定应用可以包括即时通信应用、游戏应用、浏览器、音视频应用等对用户专注有干扰的应用,预设功能可以是输入法等功能。指定应用可以包含电子设备的全部应用,也可以只包含特定的应用,而除此的例外应用在电子设备处于锁定模式时,可以维持正常运行状态,这些例外应用可以为来电、拍照应用等。
在一些实施方式中,若检测到所述虚拟房间内至少包括两个用户,可以自动开启虚拟房间内各个用户电子设备的锁定模式,例如检测到目标受邀用户均已加入虚拟房间,自动开启虚拟房间内各个用户的锁定模式,其他实施方式中,也可以响应于房主用户输入的启动操作指令开启锁定模式。
在一些实施方式中,进入锁定模式后,若检测到一些非目标受邀用户的入房请求,可以不响应该入房请求,从而起到屏蔽效果。
在一些实施方式中,所述电子设备的控制方法还包括为锁定模式创建进出控件的步骤。步骤104中指的预设方式可以是通过网页的方式或通过预装的锁定应用的方式。其中一个实施方式中,若检测到通过网页将受邀用户加入所述虚拟房间,生效所述进出控件的触发响应功能,控制受邀用户对应的电子设备可随时通过触发所述进出控件切入或切出锁定模式。在另一实施方式中,若检测到通过预装的锁定应用将受邀用户加入所述虚拟房间,关闭所述进出控件的触发响应功能。预装的锁定应用可以是电子设备预先独立下载的APP,也可以是电子设备内置预装的功能。于此,在未预装锁定应用的电子设备上通过网页加入虚拟房间的用户,可以不受限制随时切入或切出锁定模式去打开指定应用或预设功能,而对于通过锁定应用进入虚拟房间的用户,可以从底层控制其电子设备,使得这些电子设备的指定应用或预设功能在处于锁定模式时无法使用。
具体地,可以采用邀请码、邀请链接或NFC连接方式,并通过预装的锁定应用将受邀用户加入所述虚拟房间。可以采用邀请链接方式,并通过网页将受邀用户加入所述虚拟房间。
在一些受邀用户进入虚拟房间等待其他用户进入的期间,为了增强等待的趣味性,可以在等待进入锁定模式的期间,生成等待界面展示在所述虚拟房间内各个用户的电子设备上,并在所述等待界面上排列各个用户的头像;若检测用户在所述等待界面上的操作动作,控制各个用户的头像随用户的操作方向移动。于此,可以增强用户等待进入锁定模式的趣味性。
在一个具体的实施方式中,控制各个用户的头像随用户的操作方向移动时可以放大房主用户用户的头像,控制其他用户的头像围绕在房主用户头像移动。于此,可以突出该虚拟房间的房主。如图6a所示,为一个具体实施例中的等待界面示意图,该等待界面的房主头像被放大且在中间区域。
在一个具体实施方式中,所述电子设备的控制方法还包括:创建虚拟启动控件,在前述实施例所述的等待界面展示所述虚拟启动控件;若检测到所述虚拟启动控件在房主用户端电子设备上被触发,则控制所述虚拟房间内的各个用户的电子设备进入锁定模式,并在各个用户的电子设备上显示锁定界面。可以在图6a所示的等待界面显示该虚拟启动控件,若该虚拟控件被触发,则进行锁定模式并显示如图6b的锁定界面。图6a的等待界面上还显示有邀请控件、房主信息,已加入房间用户的名称,预设的锁定时长等。
在一些具体实施方式中,若检测到通过网页将受邀用户加入所述虚拟房间,则在所述受邀用户的电子设备的显示界面上展示为H5页面(html5页面)的锁定界面,生效所述进出控件的触发响应功能,于此,用户可以通过触发该进出控件切入或切出锁定模式。H5页面的锁定界面可以跟图6b锁定界面一致,使得通过网页进入锁定模式的电子设备和通过预装锁定应用进入锁定模式的电子设备的锁定界面风格一致,使房间内用户有相同的观看体验。
在一些实施方式中,若检测到电子设备切出锁定模式后进入锁定模式,生成提示信息,并展示在切出锁定模式的电子设备的锁定界面上。
具体实现时,如图7所示,锁定期间通过网页加入的用户离开锁定模式又返回该虚拟房间,在其电子设备的锁定界面上则会生成提示信息,从而提醒用户减少退出锁定模式的次数。
在一些实施方式中,在虚拟房间内各个用户的电子设备退出锁定模式后可以显示解锁界面,并在所述解锁界面显示锁定主题,锁定主题可以虚拟房间内用户一起放下电子设备的专注内容,例如学习主题。于 此,可以记录用户在该虚拟房间的专注内容。
前述实施例提到,通过网页加入虚拟房间的用户,可以不受限制随时退出锁定模式。在一些实施方式中,若检测到电子设备在预设锁定时长内切出锁定模式,获取所述电子设备切出锁定模式后运行的指定应用或预设功能,在结束锁定模式后,将对应的用户信息和运行的应用或预设功能信息显示在虚拟房间各个用户的电子设备的解锁界面上。于此,为了提醒切出用户的专注性,可以令房间内用户快速获取各个用户的专注情况。请参阅图8,为一具体实施例中的解锁界面的示意图;
具体实现时,如图8所示,解锁界面上还可以包括分享虚拟控件,若检测到所述分享虚拟控件被触发,可以该虚拟房间的锁定信息分享至云端。解锁界面上还可以包括分享继续锁定控件,如检测到房主用户操控该继续锁定控件,可以控制虚拟房间内各个用户的电子设备继续进入锁定模式。
应该理解的是,虽然图1中的方法流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,图1中的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些子步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。
本发明实施例还提出一种电子设备的控制方法,参与该控制方法的电子设备包括房主用户端电子设备和受邀用户端电子设备。如图9所示,为一实施例中的电子设备的控制方法的交互时序示意图,包括以下交互步骤:S202,房主用户端电子设备接收房主用户输入的房间创建指令,创建虚拟房间;S204,房主用户端电子设备发出进入所述虚拟房间的入房邀请,S206,受邀用户端电子设备响应所述入房邀请,S208,发出进入所述虚拟房间的入房请求;S210,房主用户端电子设备响应入房请求将受邀用户加入所述虚拟房间,并还会检测受邀用户是否根据预设方式加入虚拟房间,若检测到所述虚拟房间内至少包括两个用户,控制所述虚拟房间内用户的电子设备进入锁定模式。当电子设备处于锁定模式时,电子设备的指定应用和预设功能被设为停用状态。
关于本实施例中电子设备的控制方法的具体限定,参见前述,在此不再赘述。
上述电子设备及其控制方法、可读存储介质,通过将多个用户加入所述虚拟房间,然后控制所述虚拟房间内用户的电子设备进入锁定模式,当各个用户的电子设备处于锁定模式时,指定应用和预设功能被停用,因此可以实现虚拟房间内多个用户的电子设备一起被限制使用,有利于多个用户进行集体专注。
请参阅图10,本申请实施例提供一种电子设备的控制方法,包括:S302、接收房主在锁定应用内的建房操作指令,建立包含锁定主题和锁定时长属性的虚拟房间;S304、若接收到房主输入的启动操作指令,且检测到虚拟房间内至少有两个用户,则控制虚拟房间内所有用户的电子设备启动锁定模式,并持续锁定时长,当电子设备处于锁定模式时,电子设备的指定应用和预设功能为停用状态。
在集体内人的电子设备加入虚拟房间后,通过对虚拟房间内所有用户的电子设备启动锁定模式,并持续锁定时长,使得虚拟房间内所有用户的电子设备指令应用和预设功能停用,用户无法与电子设备进行交互,这样用户无法正常使用电子设备,从而实现多个用户一起放下电子设备的目的。此外锁定主题可以使受邀用户直观了解加入虚拟房间后集体专注的活动内容,有利于受邀用户结合自身情况有针对性的加入对应的虚拟房间。
本实施例中的锁定应用,可以是电子设备预装的应用,也可以是电子设备独立下载安装的应用。
在本实施例中,电子设备的控制方法还可以包括:生成邀请信息,邀请信息包括邀请密码;接收受邀用户在预装的锁定应用内输入的入房密码,若入房密码与邀请密码一致,则将受邀用户通过其电子设备中预装的锁定应用内加入虚拟房间。
在受邀用户的电子设备上预装有锁定应用的情况下,受邀用户电子设备预装的锁定应用在入房密码与邀请密码一致时,能够直接进入虚拟房间。
在本实施例中,电子设备的控制方法还可包括:生成邀请信息,邀请信息包括邀请密码和邀请链接;接收受邀用户在邀请链接被点击后弹出的网页输入的入房密码,若入房密码与邀请密码一致,则通过邀请链接被点击后弹出的网页将受邀用户加入虚拟房间。
在受邀用户的电子设备上未预装有锁定应用的情况下,受邀用户电子设备需访问邀请链接,在访问受邀链接时输入的入房密码与邀请密码一致时,受邀用户能够通过访问邀请链接时的网页上加入虚拟房间。
电子设备的控制方法还可以包括:当电子设备处于锁定模式时,若检测到加入虚拟房间的请求信息时,不响应请求信息。
在锁定模式启动后,房间内的所有用户电子设备的指令应用和预设功能均为停用状态,此时禁止其他用户加入虚拟房间。
电子设备的控制方法还包括:当电子设备处于锁定模式时,在房主用户及受邀用户电子设备的锁定应用上显示倒计时界面;在倒计时界面上的倒计时到达锁定时长时,退出锁定模式。
通过在房主用户及受邀用户的锁定应用上增加倒计时页面,能够使得房主用户及受邀用户清晰的知道距离解除锁定模式的时间。
电子设备的控制方法还可以包括:当电子设备处于锁定模式时,在通过邀请链接进入虚拟房间的受邀用户电子设备的网页上显示倒计时界面;在倒计时界面上的倒计时到达锁定时长时,退出锁定模式。
通过在受邀用户的网页上显示倒计时界面,能够使得受邀用户清洗的知道距离解除锁定模式的时间。
电子设备的控制方法还包括:当电子设备处于锁定模式时,对接收到关机请求或重启请求不处理,或者在重新开机、且开机后时间未到达锁定模式的结束时间时,保持开启锁定模式。
在未到锁定时长时,若用户想要退出锁定模式,对用户退出锁定模式的操作不处理,防止用户再次拿起手机而使得在一定时间内受到各种应用程序带来的干扰和影响。
本申请实施例还提供一种电子设备的控制方法,涉及到的电子设备包括房主端电子设备和受邀用户端电子设备。请参阅图11,为电子设备的控制方法的交互时序示意图,交互过程如下:
S402、房主端电子设备根据房主用户输入的建房操作指令,建立虚拟房间,虚拟房间的属性包括锁定主题和锁定时长;S404、房主端电子设备发出进入虚拟房间的入房邀请;S406、受邀用户端电子设备响应所述入房邀请发出进入所述虚拟房间的入房请求;S408、在虚拟房间内至少有两个用户的情况下,房主端电子设备接收房主输入的启动操作指令,将虚拟房间内所有用户的电子设备锁定。
在将虚拟房间内的所有电子设备锁定后,持续预定的锁定时长,当电子设备处于锁定模式时,所述电子设备的指令应用和预设功能为停用状态。
请参阅图12,在涉及到房主端电子设备、受邀端电子设备及服务器的三端交互的情况下,房主端电子设备及受邀端电子设备进入锁定模式的方法如下:S502、房主端电子设备根据房主用户输入的建房操作指令,建立虚拟房间,虚拟房间的属性包括锁定主题和锁定时长;S504、服务器端根据虚拟房间的属性生成进入虚拟房间的邀请信息,邀请信息包括专属密码及邀请链接;S506、房主获取邀请信息;S508、房主端电子设备向受邀端发送邀请信息;S510、受邀端根据邀请信息生成乳房请求,S512、受邀端申请进入虚拟房间;S514、房主端电子设备判断受邀端的申请与邀请信息相匹配后,将受邀用户加入虚拟房间,在房主端电子设备接收房主输入的启动操作指令后,将虚拟房间内所有用户的电子设备锁定。
需要说明的是,关于本申请实施例中关于电子设备的控制方法的具体限定,参见前述,在此不再赘述。
在一个实施例中,提供了一种电子设备,该电子设备可以是移动终端,图13提供了一种电子设备的内部结构图。该电子设备包括通过系统总线连接的处理器、存储器和显示屏。其中,该处理器用于提供计算和控制能力。该存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统和计算机程序。该内存储器为非易失性存储介质中的操作系统和计算机程序的运行提供环境。在某些应用场景下,图1、图9、图10、图11和图12中电子设备执行的方法具体可以由该电子设备的处理器来完成,即计算机程序被处理器执行时实现一种电子设备的控制方法。
本领域技术人员可以理解,图13中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的终端的限定,具体的电子设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。
在一个实施例中,提供了一种电子设备,包括存储器和处理器,该存储器存储有计算机程序,该处理器执行计算机程序时实现以下步骤:
接收房主用户输入的房间创建指令,创建虚拟房间;
检测受邀用户是否根据预设方式加入所述虚拟房间;
若检测到所述虚拟房间内至少包括两个用户,控制所述虚拟房间内用户的电子设备进入锁定模式,其中,当电子设备处于锁定模式时,电子设备的指定应用和预设功能被设为停用状态。
在一个实施例中,处理器执行计算机程序时还实现以下步骤:为锁定模式创建进出控件的步骤,若检测到通过网页将受邀用户加入所述虚拟房间,生效所述进出控件的触发响应功能,控制电子设备可随时通过触发所述进出控件切入或切出锁定模式;若检测到通过预装的锁定应用将受邀用户加入所述虚拟房间,关闭所述进出控件的触发响应功能。
在一个实施例中,处理器执行计算机程序时还实现以下步骤:若检测到通过网页将受邀用户加入所述虚拟房间,则在所述受邀用户的电子设备的显示界面上展示为H5页面的锁定界面,生效所述进出控件的触发响应功能。
在一个实施例中,处理器执行计算机程序时还实现以下步骤:在创建虚拟房间后的预设时间内,若检测到电子设备与房主用户登录权限的电子设备建立近场通信连接,将相应用户加入所述虚拟房间;
或者,
处理器执行计算机程序时还实现以下步骤:在创建所述虚拟房间时生成房间邀请码并分享至受邀用户的电子设备上;若接收到的请求码与生成的房间邀请码一致,将对应的受邀用户加入所述虚拟房间;
或者,
在创建所述虚拟房间时生成房间邀请链接,发送到受邀用户的电子设备上;若检测到所述邀请链接被打开,将相应受邀用户进入所述虚拟房间。
在一个实施例中,处理器执行计算机程序时还实现以下步骤:生成等待界面展示在所述虚拟房间内各个用户的电子设备上,并在所述等待界面上排列各个用户的头像;
若检测用户在所述等待界面上的操作动作,控制各个用户的头像随用户的操作方向移动。
在一个实施例中,处理器执行计算机程序时还实现以下步骤:放大房主用户用户的头像,控制其他用户的头像围绕在房主用户头像移动的步骤。
在一个实施例中,处理器执行计算机程序时还实现以下步骤:
创建虚拟启动控件,在所述等待界面展示所述虚拟启动控件;
若检测到在房主用户端电子设备上检测到所述虚拟启动控件被触发,则控制所述虚拟房间内的各个用户的电子设备进入锁定模式,并在各个用户电子设备上显示锁定界面。
在一个实施例中,处理器执行计算机程序时还实现以下步骤:若检测到电子设备切出锁定模式后进入锁定模式,生成提示信息,并展示在切出锁定模式的电子设备的锁定界面上。
在一个实施例中,处理器执行计算机程序时还实现以下步骤:获取进入所述锁定模式的预设锁定时长,当检测到所述预设锁定时长到达时,控制虚拟房间内各个用户的电子设备退出锁定模式。
在一个实施例中,处理器执行计算机程序时还实现以下步骤:控制虚拟房间内各个用户的电子设备退出锁定模式后,在各电子设备上显示解锁界面,并在所述解锁界面显示锁定主题。
在一个实施例中,处理器执行计算机程序时还实现以下步骤:若检测到电子设备在预设锁定时长内通过网页切出锁定模式,获取所述电子设备切出锁定模式后运行的指定应用或预设功能,将对应的用户信息和运行的应用或预设功能信息显示在虚拟房间内各个用户的电子设备的解锁界面上。
在一个实施例中,处理器执行计算机程序时还实现以下步骤:当接收到关机请求或重启请求时,对所述关机请求或重启请求不处理,或者在重新开机、且开机后时间未到达所述锁定模式的结束时间时,保持开启锁定模式。
在一个实施例中,提供了一种电子设备,包括存储器和处理器,该存储器存储有计算机程序,该处理器执行计算机程序时实现以下步骤:
房主用户端电子设备接收房主用户输入的房间创建指令,创建虚拟房间;
房主用户端电子设备发出进入所述虚拟房间的入房邀请;
受邀用户端电子设备响应所述入房邀请进入虚拟房间;
房主用户端电子设备检测受邀用户是否根据预设方式加入所述虚拟房间;
若房主用户端电子设备检测到所述虚拟房间内至少包括两个用户,控制所述虚拟房间内用户的电子设备进入锁定模式,当电子设备处于锁定模式时,电子设备的指定应用和预设功能被设为停用状态。
在一个实施例中,提供了一种电子设备,包括存储器和处理器,该存储器存储有计算机程序,该处理器执行计算机程序时实现以下步骤:
接收房主在锁定应用内的建房操作指令,建立虚拟房间,所述虚拟房间的属性包括锁定主题和锁定时长;接收房主输入的启动操作指令,若检测到所述虚拟房间内至少有两个用户,控制所述虚拟房间内所有用户的电子设备启动锁定模式,并持续所述锁定时长,当电子设备处于锁定模式时,所述电子设备的指令应用和预设功能为停用状态。
在一个实施例中,处理器执行计算机程序时还实现以下步骤:生成邀请信息,所述邀请信息包括邀请密码;接收受邀用户在预装的锁定应用内输入的入房密码,若所述入房密码与所述邀请密码一致,则将受邀用户通过其电子设备中预装的锁定应用加入所述虚拟房间。
在一个实施例中,处理器执行计算机程序时还实现以下步骤:生成邀请信息,所述邀请信息包括邀请密码和邀请链接;接收受邀用户在邀请链接被点击后弹出的网页输入的入房密码,若入房密码与所述邀请密码一致,则通过邀请链接被点击后弹出的网页将受邀用户加入所述虚拟房间。
在一个实施例中,处理器执行计算机程序时还实现以下步骤:当电子设备处于锁定模式时,若检测到加入所述虚拟房间的请求信息时,不响应所述请求信息。
在一个实施例中,处理器执行计算机程序时还实现以下步骤:当电子设备处于锁定模式时,在房主用户及受邀用户电子设备的锁定应用上显示倒计时界面;在所述倒计时界面上的倒计时到达所述锁定时长时,退出所述锁定模式。
在一个实施例中,处理器执行计算机程序时还实现以下步骤:当电子设备处于锁定模式时,在通过邀请链接进入虚拟房间的受邀用户电子设备的网页上显示倒计时界面;在所述倒计时界面上的倒计时到达所述锁定时长时,退出所述锁定模式。
在一个实施例中,处理器执行计算机程序时还实现以下步骤:当电子设备处于锁定模式时,对接收到关机请求或重启请求不处理,或者在重新开机、且开机后时间未到达所述锁定模式的结束时间时,保持开 启锁定模式。
在一个实施例中,处理器执行计算机程序时还实现以下步骤:房主端电子设备根据房主用户输入的建房操作指令,建立虚拟房间,所述虚拟房间的属性包括锁定主题和锁定时长,房主端电子设备发出进入所述虚拟房间的入房邀请;受邀用户端电子设备响应所述入房邀请发出进入所述虚拟房间的入房请求;房主端电子设备响应所述入房请求将受邀用户加入所述虚拟房间;房主端电子设备接收房主输入的启动操作指令,若检测到所述虚拟房间内至少有两个用户,控制所述虚拟房间内所有用户的电子设备启动锁定模式,并持续所述锁定时长,当电子设备处于锁定模式时,所述电子设备的指令应用和预设功能为停用状态。
在一个实施例中,处理器执行计算机程序时还实现以下步骤:服务器根据锁定主题、锁定时长生成邀请信息,所述邀请信息包括邀请密码及邀请链接;房主端电子设备获取所述邀请信息;受邀端电子设备根据所述邀请信息生成入房请求。
在一个实施例中,提供了一种计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器执行时还实现以下步骤:接收房主在锁定应用内的建房操作指令,建立虚拟房间,所述虚拟房间的属性包括锁定主题和锁定时长;接收房主输入的启动操作指令,若检测到所述虚拟房间内至少有两个用户,控制所述虚拟房间内所有用户的电子设备启动锁定模式,并持续所述锁定时长,当电子设备处于锁定模式时,所述电子设备的指令应用和预设功能为停用状态。
在一个实施例中,计算机程序被处理器执行时还实现以下步骤:生成邀请信息,所述邀请信息包括邀请密码;接收受邀用户在预装的锁定应用内输入的入房密码,若所述入房密码与所述邀请密码一致,则将受邀用户通过其电子设备中预装的锁定应用加入所述虚拟房间。
在一个实施例中,计算机程序被处理器执行时还实现以下步骤:生成邀请信息,所述邀请信息包括邀请密码和邀请链接;接收受邀用户在邀请链接被点击后弹出的网页输入的入房密码,若入房密码与所述邀请密码一致,则通过邀请链接被点击后弹出的网页将受邀用户加入所述虚拟房间。
在一个实施例中,计算机程序被处理器执行时还实现以下步骤:当电子设备处于锁定模式时,若检测到加入所述虚拟房间的请求信息时,不响应所述请求信息。
在一个实施例中,计算机程序被处理器执行时还实现以下步骤:当电子设备处于锁定模式时,在房主用户及受邀用户电子设备的锁定应用上显示倒计时界面;在所述倒计时界面上的倒计时到达所述锁定时长时,退出所述锁定模式。
在一个实施例中,计算机程序被处理器执行时还实现以下步骤:当电子设备处于锁定模式时,在通过邀请链接进入虚拟房间的受邀用户电子设备的网页上显示倒计时界面;在所述倒计时界面上的倒计时到达所述锁定时长时,退出所述锁定模式。
在一个实施例中,计算机程序被处理器执行时还实现以下步骤:当电子设备处于锁定模式时,对接收到关机请求或重启请求不处理,或者在重新开机、且开机后时间未到达所述锁定模式的结束时间时,保持开启锁定模式。
在一个实施例中,计算机程序被处理器执行时还实现以下步骤:房主端电子设备根据房主用户输入的建房操作指令,建立虚拟房间,所述虚拟房间的属性包括锁定主题和锁定时长,房主端电子设备发出进入所述虚拟房间的入房邀请;受邀用户端电子设备响应所述入房邀请发出进入所述虚拟房间的入房请求;房主端电子设备响应所述入房请求将受邀用户加入所述虚拟房间;房主端电子设备接收房主输入的启动操作指令,若检测到所述虚拟房间内至少有两个用户,控制所述虚拟房间内所有用户的电子设备启动锁定模式,并持续所述锁定时长,当电子设备处于锁定模式时,所述电子设备的指令应用和预设功能为停用状态。
在一个实施例中,计算机程序被处理器执行时还实现以下步骤:服务器根据锁定主题、锁定时长生成邀请信息,所述邀请信息包括邀请密码及邀请链接;房主端电子设备获取所述邀请信息;受邀端电子设备根据所述邀请信息生成入房请求。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一个或多个包含计算机可执行指令的非易失性计算机可读存储介质,当所述计算机可执行指令被一个或多个处理器执行时,使得所述处理器执行如上任一实施例中所述的电子设备的控制方法的步骤。
一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行执行如上任一实施例中所述的电子设备的控制方法。
本申请所使用的对存储器、存储、数据库或其它介质的任何引用可包括非易失性和/或易失性存储器。非易失性存储器可包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM),它用作外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据率SDRAM(DDR SDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态 RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)。
以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对本申请专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。

Claims (24)

  1. 一种电子设备的控制方法,其特征在于,包括以下步骤:
    接收房主用户输入的房间创建指令,创建虚拟房间;
    检测受邀用户是否根据预设方式加入所述虚拟房间;
    若检测到所述虚拟房间内至少包括两个用户,控制所述虚拟房间内用户的电子设备进入锁定模式,其中,当电子设备处于锁定模式时,电子设备的指定应用和预设功能被设为停用状态。
  2. 根据权利要求1所述的方法,其特征在于,还包括为锁定模式创建进出控件的步骤,若检测到通过网页将受邀用户加入所述虚拟房间,生效所述进出控件的触发响应功能,控制电子设备可随时通过触发所述进出控件切入或切出锁定模式;若检测到通过预装的锁定应用将受邀用户加入所述虚拟房间,关闭所述进出控件的触发响应功能。
  3. 根据权利要求2所述的方法,其特征在于,若检测到通过网页将受邀用户加入所述虚拟房间,则在所述受邀用户的电子设备的显示界面上展示为H5页面的锁定界面,生效所述进出控件的触发响应功能。
  4. 根据权利要求1所述的方法,其特征在于,还包括:
    在创建虚拟房间后的预设时间内,若检测到电子设备与房主用户登录权限的电子设备建立近场通信连接,将相应用户加入所述虚拟房间;
    或者,
    将受邀用户加入所述虚拟房间的步骤包括:在创建所述虚拟房间时生成房间邀请码并分享至受邀用户的电子设备上;若接收到的请求码与生成的房间邀请码一致,将对应的受邀用户加入所述虚拟房间;
    或者,
    在创建所述虚拟房间时生成房间邀请链接,发送到受邀用户的电子设备上;若检测到所述邀请链接被打开,将相应受邀用户进入所述虚拟房间。
  5. 根据权利要求2所述的方法,其特征在于,所述控制进入所述虚拟房间内用户的电子设备进入锁定模式之前的步骤包括:
    生成等待界面展示在所述虚拟房间内各个用户的电子设备上,并在所述等待界面上排列各个用户的头像;
    若检测用户在所述等待界面上的操作动作,控制各个用户的头像随用户的操作方向移动。
  6. 根据权利要求5所述的方法,其特征在于,所述方法还包括放大房主用户用户的头像,控制其他用户的头像围绕在房主用户头像移动的步骤。
  7. 根据权利要求5所述的方法,其特征在于,所述方法还包括:
    创建虚拟启动控件,在所述等待界面展示所述虚拟启动控件;
    若检测到在房主用户端电子设备上检测到所述虚拟启动控件被触发,则控制所述虚拟房间内的各个用户的电子设备进入锁定模式,并在各个用户电子设备上显示锁定界面。
  8. 根据权利要求7所述的方法,其特征在于,若检测到电子设备切出锁定模式后进入锁定模式,生成提示信息,并展示在切出锁定模式的电子设备的锁定界面上。
  9. 根据权利要求8所述的方法,其特征在于,所述方法还包括:
    获取进入所述锁定模式的预设锁定时长,当检测到所述预设锁定时长到达时,控制虚拟房间内各个用户的电子设备退出锁定模式。
  10. 根据权利要求9所述的方法,其特征在于,控制虚拟房间内各个用户的电子设备退出锁定模式后,在各电子设备上显示解锁界面,并在所述解锁界面显示锁定主题。
  11. 根据权利要求10所述的方法,其特征在于,若检测到电子设备在预设锁定时长内通过网页切出锁定模式,获取所述电子设备切出锁定模式后运行的指定应用或预设功能,将对应的用户信息和运行的应用或预设功能信息显示在虚拟房间内各个用户的电子设备的解锁界面上。
  12. 根据权利要求1所述的方法,其特征在于,所述进入锁定模式之后,还包括:当接收到关机请求或重启请求时,对所述关机请求或重启请求不处理,或者在重新开机、且开机后时间未到达所述锁定模式的结束时间时,保持开启锁定模式。
  13. 一种电子设备的控制方法,其特征在于,包括以下步骤:
    房主用户端电子设备接收房主用户输入的房间创建指令,创建虚拟房间;
    房主用户端电子设备发出进入所述虚拟房间的入房邀请;
    受邀用户端电子设备响应所述入房邀请进入虚拟房间;
    房主用户端电子设备检测受邀用户是否根据预设方式加入所述虚拟房间;
    若房主用户端电子设备检测到所述虚拟房间内至少包括两个用户,控制所述虚拟房间内用户的电子设备进入锁定模式,当电子设备处于锁定模式时,电子设备的指定应用和预设功能被设为停用状态。
  14. 一种电子设备的控制方法,其特征在于,包括:
    接收房主在锁定应用内的建房操作指令,建立包含锁定主题和锁定时长属性的虚拟房间;
    若接收到房主输入的启动操作指令,且检测到所述虚拟房间内至少有两个用户,则控制所述虚拟房间内所有用户的电子设备启动锁定模式,并持续所述锁定时长,当电子设备处于锁定模式时,所述电子设备的指定应用和预设功能为停用状态。
  15. 根据权利要求14所述的电子设备的控制方法,其特征在于,
    所述方法还包括:
    生成邀请信息,所述邀请信息包括邀请密码;
    接收受邀用户在预装的锁定应用内输入的入房密码,若所述入房密码与所述邀请密码一致,则将受邀用户通过其电子设备中预装的锁定应用加入所述虚拟房间。
  16. 根据权利要求14所述的电子设备的控制方法,其特征在于,
    所述方法还包括:
    生成邀请信息,所述邀请信息包括邀请密码和邀请链接;
    接收受邀用户在邀请链接被点击后弹出的网页输入的入房密码,若入房密码与所述邀请密码一致,则通过邀请链接被点击后弹出的网页将受邀用户加入所述虚拟房间。
  17. 根据权利要求14所述的电子设备的控制方法,其特征在于,
    所述方法还包括:
    当电子设备处于锁定模式时,若检测到加入所述虚拟房间的请求信息时,不响应所述请求信息。
  18. 根据权利要求15所述的电子设备的控制方法,其特征在于,
    所述方法还包括:
    当电子设备处于锁定模式时,在房主用户及受邀用户电子设备的锁定应用上显示倒计时界面;
    在所述倒计时界面上的倒计时到达所述锁定时长时,退出所述锁定模式。
  19. 根据权利要求16所述的电子设备的控制方法,其特征在于,
    所述方法还包括:
    当电子设备处于锁定模式时,在通过邀请链接进入虚拟房间的受邀用户电子设备的网页上显示倒计时界面;
    在所述倒计时界面上的倒计时到达所述锁定时长时,退出所述锁定模式。
  20. 根据权利要求14所述的电子设备的控制方法,其特征在于,
    所述方法还包括:
    当电子设备处于锁定模式时,对接收到关机请求或重启请求不处理,或者在重新开机、且开机后时间未到达所述锁定模式的结束时间时,保持开启锁定模式。
  21. 一种电子设备的控制方法,其特征在于,包括:
    房主端电子设备根据房主用户输入的建房操作指令,建立虚拟房间,所述虚拟房间的属性包括锁定主题和锁定时长,房主端电子设备发出进入所述虚拟房间的入房邀请;
    受邀端电子设备响应所述入房邀请发出进入所述虚拟房间的入房请求;
    房主端电子设备响应所述入房请求将受邀用户加入所述虚拟房间;
    房主端电子设备接收房主输入的启动操作指令,若检测到所述虚拟房间内至少有两个用户,控制所述虚拟房间内所有用户的电子设备启动锁定模式,并持续所述锁定时长,当电子设备处于锁定模式时,所述电子设备的指令应用和预设功能为停用状态。
  22. 根据权利要求21所述的电子设备的控制方法,其特征在于,包括:
    服务器根据锁定主题、锁定时长生成邀请信息,所述邀请信息包括邀请密码及邀请链接;
    房主端电子设备获取所述邀请信息;
    受邀端电子设备根据所述邀请信息生成入房请求。
  23. 一种电子设备,其特征在于,包括存储器及处理器,所述存储器中储存有计算机程序,所述计算机程序被所述处理器执行时,使得所述处理器执行如权利要求1至22中任一项所述的电子设备的控制方法的步骤。
  24. 一个或多个存储有计算机可读指令的非易失性可读存储介质,其特征在于,所述计算机可读指令被一个或多个处理器执行时,使得所述一个或多个处理器执行如权利要求1至22中任一项所述的方法的步骤。
PCT/CN2021/106898 2020-08-09 2021-07-16 电子设备及其控制方法、可读存储介质 WO2022033271A1 (zh)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN202010799468.7 2020-08-09
CN202010799469.1A CN114095605B (zh) 2020-08-09 2020-08-09 电子设备及其控制方法、可读存储介质
CN202010799469.1 2020-08-09
CN202010799468.7A CN114095604A (zh) 2020-08-09 2020-08-09 一种电子设备的控制方法、电子装置及存储介质

Publications (1)

Publication Number Publication Date
WO2022033271A1 true WO2022033271A1 (zh) 2022-02-17

Family

ID=80247664

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/106898 WO2022033271A1 (zh) 2020-08-09 2021-07-16 电子设备及其控制方法、可读存储介质

Country Status (1)

Country Link
WO (1) WO2022033271A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115454257A (zh) * 2022-11-10 2022-12-09 一站发展(北京)云计算科技有限公司 一种沉浸式交互方法及系统

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017075385A1 (en) * 2015-10-28 2017-05-04 Rabbit, Inc. Remote desktop controlled by touch device
CN107634840A (zh) * 2017-08-31 2018-01-26 天脉聚源(北京)科技有限公司 一种基于虚拟房间的处理方法及装置
CN108063873A (zh) * 2017-12-25 2018-05-22 努比亚技术有限公司 一种应用程序权限配置方法、移动终端及存储介质
CN109771955A (zh) * 2019-01-17 2019-05-21 腾讯科技(深圳)有限公司 邀请请求处理方法、装置、终端及存储介质
CN110300220A (zh) * 2019-04-20 2019-10-01 张煜杰 一款防止用户在不当时间玩手机的app

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017075385A1 (en) * 2015-10-28 2017-05-04 Rabbit, Inc. Remote desktop controlled by touch device
CN107634840A (zh) * 2017-08-31 2018-01-26 天脉聚源(北京)科技有限公司 一种基于虚拟房间的处理方法及装置
CN108063873A (zh) * 2017-12-25 2018-05-22 努比亚技术有限公司 一种应用程序权限配置方法、移动终端及存储介质
CN109771955A (zh) * 2019-01-17 2019-05-21 腾讯科技(深圳)有限公司 邀请请求处理方法、装置、终端及存储介质
CN110300220A (zh) * 2019-04-20 2019-10-01 张煜杰 一款防止用户在不当时间玩手机的app

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115454257A (zh) * 2022-11-10 2022-12-09 一站发展(北京)云计算科技有限公司 一种沉浸式交互方法及系统
CN115454257B (zh) * 2022-11-10 2023-09-22 一站发展(北京)云计算科技有限公司 一种沉浸式交互方法及系统

Similar Documents

Publication Publication Date Title
US8997189B2 (en) Multiuse web service sign-in client side components
US20230221968A1 (en) Method and arrangement for managing persistent rich internet applications
US10587728B2 (en) Method, apparatus and non-transitory computer storage medium for migrating application data between terminals
WO2016119622A1 (zh) 群聊方法及装置
US10419444B2 (en) Systems and methods for protecting messages utilizing a hidden restriction mechanism
WO2018112896A1 (zh) 聊天交互方法、装置及其电子设备
US10623500B2 (en) Remote desktop sharing and collaboration via image scanning
US9973374B1 (en) Systems and methods for synchronizing content and information on multiple computing devices
US9225753B1 (en) Emergency contact access for locked computing devices
CN113055628A (zh) 显示视频通话数据
CN111522604B (zh) 一种应用数据处理方法、装置以及计算机可读存储介质
WO2012166296A1 (en) Method and apparatus for joining a meeting using the presence status of a contact
CN113663325B (zh) 虚拟场景中团队的创建方法、加入方法、装置及存储介质
CN110417723B (zh) 一种应用登录方法、装置、终端和存储介质
WO2022033271A1 (zh) 电子设备及其控制方法、可读存储介质
CN114630079A (zh) 视频通信数据的动态显示
WO2022252617A1 (zh) 虚拟空间操作方法及装置
WO2018082038A1 (zh) 智能控制的方法、装置、电子设备以及系统
CN105159181B (zh) 智能设备的控制方法和装置
CN114095605B (zh) 电子设备及其控制方法、可读存储介质
KR102002872B1 (ko) 외부 디바이스를 통한 모바일 디바이스에서의 채팅 방법 및 시스템
US20230195507A1 (en) Local to remote application switching
US11455088B2 (en) Contextual notes for online meetings
CN110704247B (zh) 应用内存异常的处理方法、装置、电子设备及装置
CN112187993B (zh) 跨应用的关系链扩展方法、装置、设备以及存储介质

Legal Events

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

Ref document number: 21855324

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 24.05.2023)

122 Ep: pct application non-entry in european phase

Ref document number: 21855324

Country of ref document: EP

Kind code of ref document: A1