CN113133072A - Method and device for controlling terminal, terminal and storage medium - Google Patents

Method and device for controlling terminal, terminal and storage medium Download PDF

Info

Publication number
CN113133072A
CN113133072A CN202110397363.3A CN202110397363A CN113133072A CN 113133072 A CN113133072 A CN 113133072A CN 202110397363 A CN202110397363 A CN 202110397363A CN 113133072 A CN113133072 A CN 113133072A
Authority
CN
China
Prior art keywords
terminal
mode
controlling
setting instruction
mode setting
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110397363.3A
Other languages
Chinese (zh)
Other versions
CN113133072B (en
Inventor
黎旋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing ByteDance Network Technology Co Ltd
Original Assignee
Beijing ByteDance Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing ByteDance Network Technology Co Ltd filed Critical Beijing ByteDance Network Technology Co Ltd
Priority to CN202110397363.3A priority Critical patent/CN113133072B/en
Publication of CN113133072A publication Critical patent/CN113133072A/en
Application granted granted Critical
Publication of CN113133072B publication Critical patent/CN113133072B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0055Transmission or use of information for re-establishing the radio link
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0893Assignment of logical groups to network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/06Reselecting a communication resource in the serving access point
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/24Reselection being triggered by specific parameters
    • H04W36/26Reselection being triggered by specific parameters by agreed or negotiated communication parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/06Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals

Abstract

The present disclosure relates to a method, an apparatus, a terminal, and a storage medium for controlling a terminal. The method for controlling the terminal provided by the disclosure comprises the following steps: responding to a preset mode setting instruction, and switching the use mode of the terminal; and selecting a network slice for serving the terminal according to the switched use mode. According to the method for controlling the terminal provided by the disclosure, the network slices for serving the terminal are selected by corresponding different use modes of the same terminal to different network slices and switching the use modes of the terminal, so that diversified networking requirements of the same terminal can be met.

Description

Method and device for controlling terminal, terminal and storage medium
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a method and an apparatus for controlling a terminal, and a storage medium.
Background
Mobile phones play an increasingly important role in work and life. In a working scene, a user may use a back mobile phone to connect a plurality of displays or a server for working, and a safe and reliable network transmission environment is needed; in a life scene, a user may use a mobile phone to watch a high-definition video, so that a network transmission environment with higher uplink and downlink rates is required, and different usage scenes of the mobile phone have different requirements on the network transmission environment.
Disclosure of Invention
This summary is provided to introduce a selection of concepts in a simplified form that are further described below in the detailed description. This summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
According to one or more embodiments of the present disclosure, there is provided a method of controlling a terminal capable of operating at least two usage modes, the at least two usage modes respectively corresponding to different network slices, the method including:
responding to a preset mode setting instruction, and switching the use mode of the terminal;
and selecting a network slice for serving the terminal according to the switched use mode.
According to one or more embodiments of the present disclosure, there is provided an apparatus for controlling a terminal capable of operating at least two usage modes, the apparatus including:
the terminal comprises a mode unit, a display unit and a control unit, wherein the mode unit is used for responding to a preset mode setting instruction and switching the use mode of the terminal;
and the networking unit is used for selecting the network slice for serving the terminal according to the switched use mode.
According to one or more embodiments of the present disclosure, there is provided a mobile terminal including:
at least one memory and at least one processor;
wherein the memory is configured to store program codes, and the processor is configured to call the program codes stored in the memory to cause the terminal to execute the method of controlling the terminal provided according to one or more embodiments of the present disclosure.
According to one or more embodiments of the present disclosure, there is provided a non-transitory computer storage medium storing program code which, when run on a computer device, causes the computer device to perform a method of controlling a terminal provided according to one or more embodiments of the present disclosure.
According to the method for controlling the terminal provided by one or more embodiments of the present disclosure, diverse networking requirements of the same terminal can be satisfied by corresponding different usage modes of the same terminal to different network slices and selecting a network slice for serving the terminal by switching the usage modes of the terminal.
Drawings
The above and other features, advantages and aspects of various embodiments of the present disclosure will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that elements and features are not necessarily drawn to scale.
Fig. 1 is a flowchart of a method for controlling a terminal according to an embodiment of the present disclosure;
fig. 2 is a flowchart of a method for controlling a terminal according to another embodiment of the disclosure;
fig. 3 is a schematic structural diagram of an apparatus for controlling a terminal according to an embodiment of the present disclosure
Fig. 4 is a schematic structural diagram of a terminal device for implementing an embodiment of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order, and/or performed in parallel. Moreover, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "include" and variations thereof as used herein are open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The term "responsive to" and related terms mean that one signal or event is affected to some extent, but not necessarily completely or directly, by another signal or event. If an event x occurs "in response" to an event y, x may respond directly or indirectly to y. For example, the occurrence of y may ultimately result in the occurrence of x, but other intermediate events and/or conditions may exist. In other cases, y may not necessarily result in the occurrence of x, and x may occur even though y has not already occurred. Furthermore, the term "responsive to" may also mean "at least partially responsive to". The term "determining" broadly encompasses a wide variety of actions that can include calculating, computing, processing, deriving, investigating, looking up (e.g., looking up in a table, a database or another data structure), ascertaining and the like, and can also include receiving (e.g., receiving information), accessing (e.g., accessing data in a memory) and the like, as well as resolving, selecting, choosing, establishing and the like. Relevant definitions for other terms will be given in the following description.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.
The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
Technical terms related to one or more embodiments of the present disclosure are explained below.
1. Network slicing
The traditional mobile communication network has a single operation mode, namely one network operates all services. The 5G supported network slice technology is a networking mode according to needs, an operator can separate a plurality of virtual end-to-end networks on a unified infrastructure, each network slice is logically isolated from a wireless access network, a bearer network and a core network to adapt to various types of applications, such as supporting scenes of enhanced mobile broadband, mass machine communication, high-reliability low-delay communication and the like, and therefore the networking requirements of different devices such as high-definition video live broadcast, the Internet of things, car networking and the like are met.
2. Framework layer
The Framework layer is also used as an application Framework layer, is an API Framework used by a core application program, and can provide API, components and system services for the application layer, such as ActivatyManagerService, PackageManagerService and the like.
3. Native layer
The Native layer is common to some local services and some link libraries, etc., which are realized by C and C + + languages and can interact with the underlying hardware driver.
One or more embodiments of the present disclosure provide a method for controlling a terminal, which is applied to a terminal including but not limited to a terminal device such as a television, a smart screen, a mobile phone, a computer, an e-reader, a PDA (personal digital assistant), a PAD (tablet computer), and the like. The terminal can run at least two using modes, such as an operating mode and a life mode, and is configured to be switchable between the at least two using modes, wherein the at least two using modes respectively correspond to different network slices.
Referring to fig. 1, which illustrates a method 100 of controlling a terminal provided based on one or more embodiments of the present disclosure, the method 100 of controlling a terminal includes:
step S101: responding to a preset mode setting instruction, and switching the use mode of the terminal;
the mode setting instruction is used for setting or switching the current use mode of the terminal, and can be triggered based on instructions of touch operation, voice instruction, gesture operation and the like of a user.
In some embodiments, the mode setting instruction may be triggered in response to receiving preset user credential information and/or biometric information. The user credential information may include, but is not limited to, an account number, a password, a verification code, pin (personal identification number), and the like; biometric information may include, but is not limited to, a user's facial appearance, fingerprint, iris, voice, etc. physiological characteristics that may be used to authenticate the user's identity.
Step S102: selecting a network slice for serving the terminal according to the switched usage mode.
In some embodiments, the different usage modes have preset mapping relationships with different network slices, and the network slice for serving the terminal may be selected according to the usage mode determined by the mode setting instruction and the mapping relationship between the usage mode and the network slice.
Illustratively, the Framework layer and the Native layer can be communicated through socket, so that the Native layer is controlled by the Framework layer to issue an AT command to a Modem (Modem), and the Modem is addressed to access a specified network slice based on the AT command.
According to the method for controlling the terminal provided by one or more embodiments of the present disclosure, diverse networking requirements of the same terminal can be satisfied by corresponding different usage modes of the same terminal to different network slices and selecting a network slice for serving the terminal by switching the usage modes of the terminal.
In some embodiments, the method 100 further comprises:
step A1: and triggering the mode setting instruction based on the geographical position of the terminal or the current time.
Illustratively, the geographic location of the terminal may be located based on GPS or a network.
Further, in some embodiments, the at least two usage patterns include a first usage pattern corresponding to a first geographic area or a first time period; step a1 further includes: when the terminal is in the first geographical area, triggering a mode setting instruction for setting the terminal into a first use mode; or, when the current time is within the first period, a mode setting instruction for setting the terminal to the first usage mode is triggered.
Further, in some embodiments, the at least two usage modes further include a second usage mode; step a1 further includes: and when the terminal is not in the first geographical area and the current time is not in the first time period, triggering a mode setting instruction for setting the terminal to be in a second use mode.
Illustratively, the terminal may include an operation mode and a life mode, and a mode setting instruction for setting the terminal to the operation mode may be triggered at a work place of the user or during a work period of a working day, such as 9:00-17: 00; when the user carries the terminal out of the work place and the current time is not in the work period, a mode setting instruction for setting the terminal into the life mode is triggered.
According to one or more embodiments of the present disclosure, by triggering the mode setting instruction based on the geographical location or the current time of the terminal, the usage mode of the terminal may be automatically set based on the geographical location or the current time of the terminal.
In some embodiments, the terminal has a first service for configuring a user identity for an application; the first service is organized to provide different user identifications respectively corresponding to the at least two usage modes for the same application.
Illustratively, the PackageManagerService service of the android platform may assign a User identification (User ID, i.e., UID) to an application, manage system permissions, and the like. In the android system, each process has a corresponding UID to identify which user the process belongs to for rights management. In this embodiment, the UID of the PackageManagerService may be set to different user identifiers corresponding to different usage modes, for example, the first user identifier represents the first usage mode, and the second user identifier represents the second usage mode, so that the terminal can operate different working modes based on different user identifiers.
In some embodiments, the application data corresponding to the different user identifications are respectively stored in different storage areas. Application data includes, but is not limited to, data generated and saved by the application during creation and use, including, but not limited to, documents, pictures, audio, video, and the like.
In some embodiments, at least one application of the terminal has different application data corresponding to the different user identifications, respectively. In this embodiment, the application data obtained by the same application program under different user identifiers, i.e., different usage modes, are different.
According to one or more embodiments provided by the present disclosure, a user identifier provided by the first service for the same application is set to different user identifiers respectively corresponding to the at least two usage modes, so as to implement a dual-domain or multi-domain function, such as including a work domain or a life domain, based on the different user identifiers.
In some embodiments, the application data is encrypted such that the application data is only accessed in an operating mode having a user identification corresponding to the application data.
In some embodiments, the key for encrypting the application data may be stored in a Trusted Execution Environment (TEE), so that the security level of the application data may be improved and data leakage may be prevented.
Illustratively, the UID of the PackageManagerService may be split into a UID a and a UID B, which may represent two usage modes of the terminal, such as an operation mode and a life mode, respectively. The application data acquired in the working mode and the living mode are respectively stored in different disk partitions and are encrypted and set, when the terminal is in the living mode, the terminal can only access the application data acquired in the living mode (namely UID is UIDB), and cannot access the application data acquired in the working mode (namely UID is UIDA); the same application program has different application data in the working mode (i.e., UID is UID a) and the living mode (i.e., UID is UID B).
In this way, according to one or more embodiments of the present disclosure, by storing application data corresponding to different user identifiers (i.e., application data in different usage modes) in separate storage areas, data is isolated and encrypted, thereby ensuring data security.
Referring to fig. 2, fig. 2 shows a method 200 for controlling a terminal provided based on another embodiment of the present disclosure, including:
step S201: acquiring the geographic position and the current time of a terminal;
step S202: determining whether the geographic location is within a first geographic area or whether a current time is within a first time period;
if the geographic location is within the first geographic area or the current time is within the first time period, step S2031 is executed: triggering a first mode setting instruction; the first mode setting instruction is used for switching the terminal to a first use mode;
if the terminal is not located in the first geographic area and the current time is not located in the first time period, step S2032 is executed: triggering a second mode setting instruction; the second mode setting instruction is used for switching the terminal to a second use mode;
step S204: responding to a mode setting instruction, and switching the use mode of the terminal;
step S205: selecting a network slice for serving the terminal according to the network slice corresponding to the determined use mode;
correspondingly, fig. 3 shows an apparatus 300 for controlling a terminal provided in accordance with one or more embodiments of the present disclosure, including:
a mode unit 301, configured to switch a usage mode of the terminal in response to a preset mode setting instruction;
a networking unit 302, configured to select a network slice for serving the terminal according to the switched usage mode.
According to the method for controlling the terminal provided by one or more embodiments of the present disclosure, diverse networking requirements of the same terminal can be satisfied by corresponding different usage modes of the same terminal to different network slices and selecting a network slice for serving the terminal by switching the usage modes of the terminal.
In some embodiments, the apparatus 300 further comprises:
the first instruction triggering unit is used for responding to the received preset user credential information and/or the received biological identification information and triggering the mode setting instruction.
In some embodiments, the apparatus 300 further comprises:
and the second instruction triggering unit is used for triggering the mode setting instruction based on the geographical position of the terminal and/or the current time.
In some embodiments, the at least two usage modes further comprise a second usage mode; the second instruction triggering unit is used for triggering a mode setting instruction for setting the terminal into a first use mode when the terminal is in the first geographical area; or, when the current time is within the first period, a mode setting instruction for setting the terminal to the first usage mode is triggered.
In some embodiments, the at least two usage modes include a second usage mode; the second instruction triggering unit is used for triggering a mode setting instruction for setting the terminal into a second use mode when the terminal is not in the first geographical area and the current time is not in the first time interval.
In some embodiments, the terminal has a first service for configuring a user identity for an application; the first service is organized to provide different user identifications respectively corresponding to the at least two usage modes for the same application.
In some embodiments, the application data corresponding to the different user identifications are respectively stored in different storage areas.
In some embodiments, at least one application of the terminal has different application data corresponding to the different user identifications, respectively.
In some embodiments, the apparatus 300 further comprises:
and the encryption unit is used for encrypting the application data so that the application data is only accessed in the working mode with the user identification corresponding to the application data.
For the embodiments of the apparatus, since they correspond substantially to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points. The above-described apparatus embodiments are merely illustrative, in that modules illustrated as separate modules may or may not be separate. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Accordingly, according to one or more embodiments of the present disclosure, there is provided a terminal device including:
at least one memory and at least one processor;
wherein the memory is used for storing program codes, and the processor is used for calling the program codes stored in the memory to execute the method for controlling the terminal according to one or more embodiments of the present disclosure.
Referring now to fig. 4, a block diagram of a terminal device 600 suitable for use in implementing embodiments of the present disclosure is shown. The terminal device in the disclosed embodiment may include, but is not limited to, devices such as a television, smart screen, cell phone, computer, e-reader, PDA (personal digital assistant), PAD (tablet), and the like. The terminal shown in fig. 4 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 4, the terminal device 600 may include a processing means (e.g., a central processing unit, a graphic processor, etc.) 601 that may perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)602 or a program loaded from a storage means 608 into a Random Access Memory (RAM) 603. In the RAM603, various programs and data necessary for the operation of the terminal apparatus 600 are also stored. The processing device 601, the ROM602, and the RAM603 are connected to each other via a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
Generally, the following devices may be connected to the I/O interface 605: input devices 606 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 607 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 608 including, for example, tape, hard disk, etc.; and a communication device 609. The communication means 609 may allow the terminal device 600 to perform wireless or wired communication with other devices to exchange data. While fig. 4 illustrates a terminal apparatus 600 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a non-transitory computer readable medium, the computer program containing program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication means 609, or may be installed from the storage means 608, or may be installed from the ROM 602. The computer program, when executed by the processing device 601, performs the above-described functions defined in the methods of the embodiments of the present disclosure.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network protocol, such as HTTP (hypertext transfer protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communications network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be included in the terminal device; or may exist separately without being assembled into the terminal device.
The computer readable medium carries one or more programs which, when executed by the terminal device, cause the terminal device to: responding to a preset mode setting instruction, and switching the use mode of the terminal; and selecting a network slice for serving the terminal according to the switched use mode.
Computer program code for carrying out operations for the present disclosure may be written in any combination of one or more programming languages, including but not limited to an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer device, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present disclosure may be implemented by software or hardware. Here, the name of a unit does not constitute a limitation of the unit itself in some cases, and for example, a mode unit may also be described as "a unit for switching a usage mode of the terminal in response to a preset mode setting instruction".
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
According to one or more embodiments of the present disclosure, there is provided a method of controlling a terminal capable of operating at least two usage modes, the at least two usage modes respectively corresponding to different network slices, the method including: responding to a preset mode setting instruction, and switching the use mode of the terminal; and selecting a network slice for serving the terminal according to the switched use mode.
A method of controlling a terminal provided in accordance with one or more embodiments of the present disclosure further includes: and triggering the mode setting instruction in response to the received preset user credential information and/or biometric information.
According to the method for controlling the terminal, which is provided by one or more embodiments of the disclosure, the mode setting instruction is triggered based on the geographic position where the terminal is located and/or the current time.
According to one or more embodiments of the present disclosure, the triggering the mode setting instruction based on the geographic location where the terminal is located or the current time includes: when the terminal is in the first geographical area, triggering a mode setting instruction for setting the terminal into a first use mode; or, when the current time is within the first period, a mode setting instruction for setting the terminal to the first usage mode is triggered.
According to one or more embodiments of the present disclosure, the at least two usage modes further include a second usage mode; the triggering of the mode setting instruction based on the geographical location of the terminal or the current time includes: and when the terminal is not in the first geographical area and the current time is not in the first time period, triggering a mode setting instruction for setting the terminal to be in a second use mode.
According to one or more embodiments of the present disclosure, the terminal has a first service for configuring a user identity for an application; the first service is organized to provide different user identifications respectively corresponding to the at least two usage modes for the same application.
According to one or more embodiments of the present disclosure, the application data corresponding to the different user identifiers are respectively stored in different storage areas.
According to one or more embodiments of the present disclosure, at least one application program of the terminal has different application data corresponding to the different user identifications, respectively.
A method of controlling a terminal provided in accordance with one or more embodiments of the present disclosure further includes: encrypting the application data such that the application data is only accessed in an operational mode having a user identification corresponding to the application data.
According to one or more embodiments of the present disclosure, there is provided an apparatus for controlling a terminal, the terminal being capable of operating at least two usage modes, the at least two usage modes respectively corresponding to different network slices, the apparatus including: the terminal comprises a mode unit, a display unit and a control unit, wherein the mode unit is used for responding to a preset mode setting instruction and switching the use mode of the terminal; and the networking unit is used for selecting the network slice for serving the terminal according to the switched use mode.
According to one or more embodiments of the present disclosure, there is provided a terminal including: at least one memory and at least one processor; wherein the memory is configured to store program codes, and the processor is configured to call the program codes stored in the memory to cause the terminal to execute the method of controlling the terminal provided according to one or more embodiments of the present disclosure.
According to one or more embodiments of the present disclosure, there is provided a non-transitory computer storage medium storing program code which, when run on a computer device, causes the computer device to perform a method of controlling a terminal provided according to one or more embodiments of the present disclosure.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.
Further, while operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.

Claims (12)

1. A method for controlling a terminal, wherein the terminal is capable of operating at least two usage modes, and the at least two usage modes respectively correspond to different network slices, the method comprising:
responding to a preset mode setting instruction, and switching the use mode of the terminal;
and selecting a network slice for serving the terminal according to the switched use mode.
2. The method of controlling a terminal according to claim 1, further comprising:
and triggering the mode setting instruction in response to the received preset user credential information and/or biometric information.
3. The method of controlling a terminal according to claim 1, further comprising:
and triggering the mode setting instruction based on the geographical position of the terminal and/or the current time.
4. The method of controlling a terminal according to claim 3,
the at least two usage modes include a first usage mode corresponding to a first geographic area or a first time period;
the triggering of the mode setting instruction based on the geographical location of the terminal or the current time includes: when the terminal is in the first geographical area, triggering a mode setting instruction for setting the terminal into a first use mode; or, when the current time is within the first period, a mode setting instruction for setting the terminal to the first usage mode is triggered.
5. The method of controlling a terminal according to claim 4,
the at least two usage modes include a second usage mode;
the triggering of the mode setting instruction based on the geographical location of the terminal or the current time includes: and when the terminal is not in the first geographical area and the current time is not in the first time period, triggering a mode setting instruction for setting the terminal to be in a second use mode.
6. The method of controlling a terminal according to claim 1,
the terminal is provided with a first service for configuring a user identifier for an application program; the first service is organized to provide different user identifications respectively corresponding to the at least two usage modes for the same application.
7. The method of controlling a terminal according to claim 6,
and the application data corresponding to the different user identifications are respectively stored in different storage areas.
8. The method of controlling a terminal according to claim 6,
at least one application program of the terminal has different application data corresponding to the different user identifications, respectively.
9. The method of controlling a terminal according to claim 7, further comprising
Encrypting the application data such that the application data is only accessed in an operational mode having a user identification corresponding to the application data.
10. An apparatus for controlling a terminal, wherein the terminal is capable of operating at least two usage modes, and the at least two usage modes correspond to different network slices, respectively, the apparatus comprising:
the terminal comprises a mode unit, a display unit and a control unit, wherein the mode unit is used for responding to a preset mode setting instruction and switching the use mode of the terminal;
and the networking unit is used for selecting the network slice for serving the terminal according to the switched use mode.
11. A terminal, comprising:
at least one memory and at least one processor;
wherein the memory is configured to store program code, and the processor is configured to call the program code stored in the memory to cause the terminal to perform the method of controlling a terminal according to any one of claims 1 to 9.
12. A non-transitory computer storage medium, characterized in that,
the non-transitory computer storage medium stores program code that, when run on a computer device, causes the computer device to perform the method of controlling a terminal of any one of claims 1 to 9.
CN202110397363.3A 2021-04-13 2021-04-13 Method and device for controlling terminal, terminal and storage medium Active CN113133072B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110397363.3A CN113133072B (en) 2021-04-13 2021-04-13 Method and device for controlling terminal, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110397363.3A CN113133072B (en) 2021-04-13 2021-04-13 Method and device for controlling terminal, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN113133072A true CN113133072A (en) 2021-07-16
CN113133072B CN113133072B (en) 2022-11-29

Family

ID=76776636

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110397363.3A Active CN113133072B (en) 2021-04-13 2021-04-13 Method and device for controlling terminal, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN113133072B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113923667A (en) * 2021-09-30 2022-01-11 北京字节跳动网络技术有限公司 Control method, device, equipment and medium for terminal equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110149968A1 (en) * 2009-12-21 2011-06-23 Electronics And Telecommunications Research Institute Method for controlling internet network
CN107295609A (en) * 2016-03-30 2017-10-24 中兴通讯股份有限公司 Network sliced sheet processing method and device, terminal, base station
CN109076102A (en) * 2016-04-15 2018-12-21 瑞典爱立信有限公司 User equipment container and network slice
CN112543486A (en) * 2019-09-23 2021-03-23 华为技术有限公司 Method, equipment and system for selecting network slices

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110149968A1 (en) * 2009-12-21 2011-06-23 Electronics And Telecommunications Research Institute Method for controlling internet network
CN107295609A (en) * 2016-03-30 2017-10-24 中兴通讯股份有限公司 Network sliced sheet processing method and device, terminal, base station
CN109076102A (en) * 2016-04-15 2018-12-21 瑞典爱立信有限公司 User equipment container and network slice
CN112543486A (en) * 2019-09-23 2021-03-23 华为技术有限公司 Method, equipment and system for selecting network slices

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113923667A (en) * 2021-09-30 2022-01-11 北京字节跳动网络技术有限公司 Control method, device, equipment and medium for terminal equipment

Also Published As

Publication number Publication date
CN113133072B (en) 2022-11-29

Similar Documents

Publication Publication Date Title
US10349272B2 (en) Virtual SIM card cloud platform
CN110569667B (en) Access control method and device, computer equipment and storage medium
CN111541768A (en) Unified provisioning of applications on devices in an enterprise system
CN104516777A (en) User interface management method and system
US9503454B2 (en) Smart card service method and apparatus for performing the same
CN106506511B (en) A kind of address list information processing method, device
CN112487451B (en) Display method and device and electronic equipment
CN103548373A (en) Methods and apparatuses for lawful interception through a subscription manager
CN112784295A (en) Document authority processing method and device, electronic equipment and storage medium
CN112256231A (en) Volume control method, device, terminal and storage medium
CN113133072B (en) Method and device for controlling terminal, terminal and storage medium
CN105812370B (en) Intelligent card in processing method, apparatus and system
CN113010238A (en) Permission determination method, device and system for micro application call interface
CN112416616B (en) Micro-service calling method and device, electronic equipment and storage medium
CN112256171A (en) Method, device, terminal and storage medium for presenting information in screen locking interface
CN112202973B (en) Terminal control method and device, electronic equipment and computer readable medium
CN115186254A (en) Data access control method and device and terminal equipment
CN115510419A (en) Electronic equipment control method and device, electronic equipment and storage medium
CN112954114A (en) Terminal control method and device, terminal and storage medium
CN115174062B (en) Cloud service authentication method, device, equipment and storage medium
CN112261659B (en) Control method and device for terminal and server, terminal and storage medium
CN114745164B (en) Service processing method, device, electronic equipment and computer readable medium
KR20130032956A (en) Terminal-controling apparatus using near field communication and method therof
US20230224713A1 (en) Systems and methods for authenticating a subscriber within the network core
CN114254385A (en) Access control method, device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant