Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
Referring to fig. 1, an embodiment of the present application provides an intelligent switching method of an operating mode, including:
s1, acquiring age information of the user;
s2, matching the corresponding working mode according to the age information;
and S3, controlling all application software of the intelligent equipment to switch to the working mode and operating according to the working mode.
The intelligent switching method of the embodiment is applied to intelligent equipment, such as a mobile phone or a tablet computer, and after the intelligent equipment is started, a control system of the intelligent equipment acquires age information of a user. The age information of the user can be obtained by scanning the identity information of the user, for example, the user needs to open a camera of the intelligent device and align the own identity card, so that the identity information of the user is acquired. Or, the user manually inputs account information, and the control system inquires corresponding registration information according to the account information, wherein the registration information comprises the birth year and month of the user, so that the age information of the user is obtained. The control system matches corresponding working modes according to the age information, specifically, the developer is correspondingly provided with different working modes according to different age groups, for example, the working mode correspondingly set by ages 1-18 is a teenager mode, the working mode correspondingly set by ages 19-60 is a common mode, and the working mode correspondingly set by ages above 60 is an elderly mode. And the control system matches the age group corresponding to the age information of the current user to obtain a corresponding working mode. For example, if the age information of the current user is 15 years old, the corresponding matching working mode is the teenager mode. The control system sends the notification message to all the application software of the intelligent device, so that each application software can change the attribute value of each application software to the attribute value corresponding to the currently matched working mode based on the notification message, and the used application software is switched to the working mode. When a user opens the application software on the intelligent equipment, the application software can operate according to the switched working mode, and data information such as audio, video, pictures and the like is screened, filtered and correspondingly limited. For example, when the current working mode is a teenager mode, the video application software hides the video in the age range above 18 years old and only displays the video below 18 years old; the application software of the game class limits the game time and the recharging action of the user.
In this embodiment, control system can be according to user's age information, and automatic all application software with the smart machine switch over to the mode that corresponds with age information, can play the guard action to the user, does not need the user to carry out too much manual operation moreover, convenient and fast.
Further, the step of acquiring the age information of the user includes:
s101, collecting account information input by a user;
s102, inquiring corresponding registration information according to the account information;
s103, screening the registration information to obtain the age information.
In this embodiment, after the intelligent device is powered on, the control system automatically prompts the user to input account information, if the user does not register an account, corresponding registration information needs to be input according to the prompt to complete account registration, and the intelligent device can be normally used only after the user logs in the account. The control system collects account information manually input by a user, wherein the account information comprises an account name and a password, and the control system inquires registration information corresponding to the account information according to the account name (the registration information can be stored in a database of the intelligent device and can also be stored in a cloud server). The registration information input during user registration comprises the name and the birth year and month of the user, the control system obtains the year and month information at the current moment, and then the age information of the user is obtained through calculation according to the year and month information at the current moment and the birth year and month of the user, so that the method is convenient and fast.
Further, after the step of collecting the account information input by the user, the method includes:
s104, collecting the identity characteristic information of the user;
s105, judging whether the account information is legal or not according to the identity characteristic information;
s106, if the account information is legal, allowing the registration information to be inquired.
In this embodiment, the registration information entered when the user registers the account further includes identity characteristic information of the user, where the identity characteristic information includes physiological characteristic information of the user, such as a fingerprint, a face, and an iris. After monitoring that the user inputs account information, the control system automatically acquires the identity characteristic information of the user in order to verify the validity of the account information, for example, the fingerprint of the current user is acquired through a fingerprint acquisition module of the intelligent device. Then, the control system judges whether the similarity between the identity characteristic information of the current user and the identity characteristic information corresponding to the account information (the account information can be inquired into the registration information) is greater than a threshold value, if the similarity between the identity characteristic information of the current user and the account information is greater than the threshold value, the fact that the user operating the intelligent device and the user operating the account information are the same person is indicated, the control system is allowed to further inquire the registration information and obtain the age information of the user, the account information is prevented from being stolen, so that the condition limit of the working mode of the intelligent device is released (for example, minors steal the account information of parents, the intelligent device operates in a common mode, game recharging and other operations can be carried out), and the use safety of the intelligent device is effectively improved.
Further, the step of operating according to the operating mode includes:
s301, monitoring whether the user violates the limit condition of the working mode in the process of using the application software;
s302, if it is monitored that the user violates the limiting condition of the working mode in the process of using the application software, sending inquiry information to a preset terminal, and judging whether a release instruction fed back by the preset terminal is received in a preset time period, wherein the inquiry information carries operation information of the user violating the limiting condition;
and S303, if a releasing instruction fed back by the preset terminal is received in a preset time period, releasing the limiting condition corresponding to the operation information.
In this embodiment, after switching all the application software to the working mode corresponding to the age information of the user, the control system monitors the operation instruction of the user on each application software in real time, so as to identify whether the user violates the restriction condition of the current working mode. For example, when the current working mode is a teenager mode, and a user opens the video software "watermelon video", the "watermelon video" can automatically hide videos in the age range of 18 years or more, and when the video manually searched by the user belongs to the age range of 18 years or more, the video is regarded as violating the limit condition of the teenager mode; or, after the user opens the game software 'royal glory', the user tries to carry out the recharging operation, and the condition is also considered to be violated with the limit condition of the teenager mode. Under different working modes, the corresponding limiting conditions of different types of application software are different, and can be customized by developers, or the limiting conditions of the application software (for example, "watermelon video" has two working modes, namely, juvenile mode and normal mode) can be directly used, which is not listed here. The control system automatically sends inquiry information to the preset terminal after detecting that the operation violating the limiting condition of the working mode occurs in the process that the user uses the application software, and monitors whether a release instruction fed back by the preset terminal is received in a preset time period. The inquiry information carries operation information of a user violating the restriction condition (for example, a recharging operation is performed in game software), so that the user of the preset terminal can know the specific operation of the user of the intelligent device in time after receiving the inquiry information, and further, whether the restriction condition needs to be removed is judged. And if the user of the preset terminal determines to remove the limitation condition corresponding to the current operation information, sending a removal instruction to the intelligent equipment within a preset time period after receiving the inquiry information. And after receiving a releasing instruction fed back by the preset terminal within a preset time period, the control system releases the limiting condition corresponding to the current operation information. The released restriction condition only corresponds to the operation information violating the restriction condition at the current time, for example, the operation information violating the restriction condition at the current time is charged in 'royal glory', the restriction condition only aims at the charging restriction in 'royal glory', the user is allowed to complete the charging at the current time in 'royal glory' after the restriction condition is released, and the restriction conditions of other application software (such as video software, application downloading software and the like) are not released. Preferably, the limiting conditions further include screen-up time of the smart device, use time corresponding to each application program (the use time includes start time and use duration of the application software, for example, a user of the preset terminal may set that the game software on the smart device can only be started after 21 o' clock, and the use duration is at most 2 hours), and shutdown time of the smart device, and specific values of each time in the limiting conditions are customized by the user of the preset terminal or the user of the smart device, which is not limited herein.
Further, after the step of switching all application software of the control smart device to the working mode and operating according to the working mode, the method includes:
s4, recording operation information of the user on the intelligent device, wherein the operation information comprises names of all application software operated by the user and the use duration of each application software;
s5, arranging the application software according to the names and the use durations of the application software in sequence according to the use time to generate software use records;
and S6, sending the software use record to a preset terminal.
In the embodiment, after the control system completes the switching of the working modes of all application software on the intelligent equipment, the operation information of a user on the intelligent equipment is recorded in real time; the operation information comprises the name of each application software opened and operated by the user and the service life of each application software. The control system carries out sequential arrangement according to the use time and the name of each application software and the use duration of each application software to generate a software use record; for example, 9: 00-10: 15, running 'Rong people glory', the using time is 75 min; and (3) operating the watermelon video at a ratio of 10: 30-11: 30, wherein the use time is 60min, and so on. The control system sends the generated software usage record to a preset terminal according to a preset frequency, for example, once a day or once a week, so that a user of the preset terminal can know the specific situation of the user of the intelligent device using the intelligent device in time. Preferably, the user of the preset terminal is a guardian, the working mode of the intelligent device is preferably a teenager mode and an old person mode, and the guardian can better avoid the kid or the old person from being cheated by checking the software use record due to poor identification capability and control capability of the kid or the old person, so that the safety of the user of the intelligent device is effectively improved.
Further, the step of controlling all application software of the smart device to switch to the working mode includes:
s304, acquiring a mode attribute value corresponding to the working mode;
s305, searching a corresponding switch attribute value according to the mode attribute value;
s306, changing the switch attribute value to switch all the application software to the working mode.
In this embodiment, a system engineer of the intelligent device writes a working mode in advance for a system code of the intelligent device, and needs to set an attribute value corresponding to the working mode for a local application of the system; for the third-party application, the framework of the system needs to be modified, and all application software of the intelligent device inherits the activity. The attribute values include a mode attribute value and a switch attribute value, for example, "you" is a mode attribute value, and represents a teenager mode (an old people mode is "old"); "true" is the switch attribute value, indicating that the mode is on (switch attribute value defaults to "false", indicating that the mode is off). And the control system matches the corresponding mode attribute value according to the currently selected working mode and then finds the corresponding switch attribute value according to the mode attribute value. Finally, the control system changes the switch attribute value (i.e. the default "false" is changed to "true"), so that all the application software on the intelligent device is switched to the currently selected working mode.
Further, the operating mode is a teenager mode, the application software is video software, and the step of operating according to the operating mode includes:
s307, all first videos exceeding the age bracket corresponding to the teenager mode are shielded, and all second videos are arranged in a descending order according to the proximity degree of the maximum age corresponding to the teenager mode, wherein the second videos are other videos except the first videos contained in all videos contained in the video software.
In this embodiment, the current working mode is preferably a teenager mode, and the application software run by the user is video software. After the user opens the video software, the control system shields all first videos exceeding the age bracket corresponding to the teenager mode, and arranges all second videos which do not need to be shielded in a descending order according to the proximity degree of the maximum age corresponding to the teenager mode, and the second videos are arranged in order, so that the user can conveniently and quickly find the videos suitable for the age bracket to play and watch. For example, the maximum age corresponding to the teenage mode is 18 years, the second videos have ages of 1 to 5 years, 6 to 15 years and 15 to 18 years according to the age groups, the second videos are sequentially arranged according to the ages of 15 to 18, 6 to 15 and 1 to 5 years, and the second video close to the maximum age corresponding to the teenage mode is preferentially displayed.
Referring to fig. 2, an embodiment of the present application further provides an intelligent switching device for operating modes, including:
theacquisition module 1 is used for acquiring age information of a user;
thematching module 2 is used for matching a corresponding working mode according to the age information;
and theswitching module 3 is used for controlling all application software of the intelligent equipment to be switched to the working mode and run according to the working mode.
Further, the obtainingmodule 1 includes:
the first acquisition unit is used for acquiring the account information input by the user;
the inquiry unit is used for inquiring corresponding registration information according to the account information;
and the screening unit is used for screening the registration information to obtain the age information.
Further, the obtainingmodule 1 further includes:
the second acquisition unit is used for acquiring the identity characteristic information of the user;
the first judging unit is used for judging whether the account information is legal or not according to the identity characteristic information;
and the judging unit is used for allowing the registration information to be inquired if the account information is legal.
Further, theswitching module 3 includes:
the monitoring unit is used for monitoring whether the limitation condition of the working mode is violated or not in the process that the user uses the application software;
a second determining unit, configured to send query information to a preset terminal if it is monitored that the user violates a constraint condition of the working mode in the process of using the application software, and determine whether a release instruction fed back by the preset terminal is received within a preset time period, where the query information carries operation information of the user violating the constraint condition;
and the release unit is used for releasing the restriction condition corresponding to the operation information if a release instruction fed back by the preset terminal is received within a preset time period.
Further, the intelligent switching device further includes:
therecording module 4 is configured to record operation information of the user on the intelligent device, where the operation information includes names of all application software operated by the user and a duration of use of each application software;
the generating module 5 is used for sequentially arranging according to the names of the application software and the use duration of the application software and the use time to generate a software use record;
and the sendingmodule 6 is used for sending the software use record to a preset terminal.
Further, theswitching module 3 further includes:
the acquisition unit is used for acquiring a mode attribute value corresponding to the working mode;
the searching unit is used for searching the corresponding switch attribute value according to the mode attribute value;
and the modifying unit is used for modifying the switch attribute value so as to switch all the application software to the working mode.
Further, the working mode is a teenager mode, the application software is video software, and theswitching module 3 further includes:
and the arranging unit is used for shielding all the first videos exceeding the age bracket corresponding to the teenager mode and arranging all the second videos in a descending order according to the proximity degree of the maximum age corresponding to the teenager mode, wherein the second videos are other videos except the first videos contained in the video software.
In this embodiment, each module and unit in the intelligent switching device is used for correspondingly executing each step in the intelligent switching method of the above-mentioned working mode, and the specific implementation process thereof is not described in detail herein.
According to the intelligent switching device for the working modes, the control system of the intelligent device acquires the age information of the user, and then the corresponding working modes are automatically matched according to the age information of the user. And finally, the control system controls all application software of the intelligent equipment to be switched to a working mode and operates according to the working mode. In this application, control system can be according to user's age information, and automatic all application software with smart machine switch over to the mode that corresponds with age information, can play the guard action to the user, need not the user moreover to carry out too much manual operation, convenient and fast.
Referring to fig. 3, a computer device, which may be a server and whose internal structure may be as shown in fig. 3, is also provided in the embodiment of the present application. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the computer designed processor is used to provide computational and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for storing data such as registration information. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a method of intelligent switching of operating modes.
The processor executes the intelligent switching method of the working modes, and comprises the following steps:
s1, acquiring age information of the user;
s2, matching the corresponding working mode according to the age information;
and S3, controlling all application software of the intelligent equipment to switch to the working mode and operating according to the working mode.
Further, the step of acquiring the age information of the user includes:
s101, collecting account information input by a user;
s102, inquiring corresponding registration information according to the account information;
s103, screening the registration information to obtain the age information.
Further, after the step of collecting the account information input by the user, the method includes:
s104, collecting the identity characteristic information of the user;
s105, judging whether the account information is legal or not according to the identity characteristic information;
s106, if the account information is legal, allowing the registration information to be inquired.
Further, the step of operating according to the operating mode includes:
s301, monitoring whether the user violates the limit condition of the working mode in the process of using the application software;
s302, if it is monitored that the user violates the limiting condition of the working mode in the process of using the application software, sending inquiry information to a preset terminal, and judging whether a release instruction fed back by the preset terminal is received in a preset time period, wherein the inquiry information carries operation information of the user violating the limiting condition;
and S303, if a releasing instruction fed back by the preset terminal is received in a preset time period, releasing the limiting condition corresponding to the operation information.
Further, after the step of switching all application software of the control smart device to the working mode and operating according to the working mode, the method includes:
s4, recording operation information of the user on the intelligent device, wherein the operation information comprises names of all application software operated by the user and the use duration of each application software;
s5, arranging the application software according to the names and the use durations of the application software in sequence according to the use time to generate software use records;
and S6, sending the software use record to a preset terminal.
Further, the step of controlling all application software of the smart device to switch to the working mode includes:
s304, acquiring a mode attribute value corresponding to the working mode;
s305, searching a corresponding switch attribute value according to the mode attribute value;
s306, changing the switch attribute value to switch all the application software to the working mode.
Further, the operating mode is a teenager mode, the application software is video software, and the step of operating according to the operating mode includes:
s307, all first videos exceeding the age bracket corresponding to the teenager mode are shielded, and all second videos are arranged in a descending order according to the proximity degree of the maximum age corresponding to the teenager mode, wherein the second videos are other videos except the first videos contained in all videos contained in the video software.
An embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements an intelligent switching method for a working mode, where the intelligent switching method for the working mode specifically includes:
s1, acquiring age information of the user;
s2, matching the corresponding working mode according to the age information;
and S3, controlling all application software of the intelligent equipment to switch to the working mode and operating according to the working mode.
Further, the step of acquiring the age information of the user includes:
s101, collecting account information input by a user;
s102, inquiring corresponding registration information according to the account information;
s103, screening the registration information to obtain the age information.
Further, after the step of collecting the account information input by the user, the method includes:
s104, collecting the identity characteristic information of the user;
s105, judging whether the account information is legal or not according to the identity characteristic information;
s106, if the account information is legal, allowing the registration information to be inquired.
Further, the step of operating according to the operating mode includes:
s301, monitoring whether the user violates the limit condition of the working mode in the process of using the application software;
s302, if it is monitored that the user violates the limiting condition of the working mode in the process of using the application software, sending inquiry information to a preset terminal, and judging whether a release instruction fed back by the preset terminal is received in a preset time period, wherein the inquiry information carries operation information of the user violating the limiting condition;
and S303, if a releasing instruction fed back by the preset terminal is received in a preset time period, releasing the limiting condition corresponding to the operation information.
Further, after the step of switching all application software of the control smart device to the working mode and operating according to the working mode, the method includes:
s4, recording operation information of the user on the intelligent device, wherein the operation information comprises names of all application software operated by the user and the use duration of each application software;
s5, arranging the application software according to the names and the use durations of the application software in sequence according to the use time to generate software use records;
and S6, sending the software use record to a preset terminal.
Further, the step of controlling all application software of the smart device to switch to the working mode includes:
s304, acquiring a mode attribute value corresponding to the working mode;
s305, searching a corresponding switch attribute value according to the mode attribute value;
s306, changing the switch attribute value to switch all the application software to the working mode.
Further, the operating mode is a teenager mode, the application software is video software, and the step of operating according to the operating mode includes:
s307, all first videos exceeding the age bracket corresponding to the teenager mode are shielded, and all second videos are arranged in a descending order according to the proximity degree of the maximum age corresponding to the teenager mode, wherein the second videos are other videos except the first videos contained in all videos contained in the video software.
It will be understood by those skilled in the art that all or part of the processes of the methods of the above embodiments may be implemented by hardware associated with instructions of a computer program, which may be stored on a non-volatile computer-readable storage medium, and when executed, may include processes of the above embodiments of the methods. Any reference to memory, storage, database, or other medium provided herein and used in the examples may include non-volatile and/or volatile memory. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), double-rate SDRAM (SSRSDRAM), Enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, apparatus, first object, or method that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, apparatus, first object, or method. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of another identical element in a process, apparatus, first object or method that comprises the element.
The above description is only for the preferred embodiment of the present application and not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings of the present application, or which are directly or indirectly applied to other related technical fields, are intended to be included within the scope of the present application.