CN115460676B - State management method, device and storage medium - Google Patents

State management method, device and storage medium Download PDF

Info

Publication number
CN115460676B
CN115460676B CN202210682635.9A CN202210682635A CN115460676B CN 115460676 B CN115460676 B CN 115460676B CN 202210682635 A CN202210682635 A CN 202210682635A CN 115460676 B CN115460676 B CN 115460676B
Authority
CN
China
Prior art keywords
cloud
cloud terminal
service
state
terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210682635.9A
Other languages
Chinese (zh)
Other versions
CN115460676A (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.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group 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 China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202210682635.9A priority Critical patent/CN115460676B/en
Publication of CN115460676A publication Critical patent/CN115460676A/en
Application granted granted Critical
Publication of CN115460676B publication Critical patent/CN115460676B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0212Power saving arrangements in terminal devices managed by the network, e.g. network or access point is master and terminal is slave
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/22Processing or transfer of terminal data, e.g. status or physical capabilities
    • H04W8/24Transfer of terminal data
    • H04W8/245Transfer of terminal data from a network towards a terminal

Abstract

The application provides a state management method, a state management device and a storage medium, relates to the technical field of communication, and is used for solving the technical problems of high power consumption of a cloud terminal and heavy load of a cloud server in a general technology. The state management method is applied to a cloud system comprising a cloud terminal and a cloud server, and comprises the following steps: acquiring a service type between a cloud terminal and a cloud server; and determining the working state of the cloud terminal according to the service type. The method for managing the working state of the cloud terminal in the cloud system scene formed by the cloud server and the cloud terminal can determine the working state of the cloud terminal according to different service requirements, and then the interaction times of interaction information can be adjusted in different working states, so that the power consumption of the cloud terminal is reduced, and the load of the cloud server is reduced.

Description

State management method, device and storage medium
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a state management method, a state management device, and a storage medium.
Background
The cloud terminal means that the mobile terminal is not provided with a system and mobile phone software (application), and is connected with a cloud server (virtual: network cloud, entity: server) simply through a display. After the cloud terminal can input user account information to perform personal state management pages, communication with the cloud server is achieved through a mobile network, and then a personal customized mobile phone interface and application software on the cloud server are read, so that information interaction between the cloud terminal and the cloud server is achieved.
Currently, when a user accesses and operates different service demands through a cloud terminal, the user needs to frequently operate on the cloud terminal. Correspondingly, a great amount of real-time information interaction exists between the cloud terminal and the cloud server, so that the technical problem of high power consumption of the cloud terminal and heavy load of the cloud server is caused.
Disclosure of Invention
The application provides a state management method, a state management device and a storage medium, which are used for solving the technical problems of high power consumption of a cloud terminal and heavy load of a cloud server in a general technology.
In order to achieve the above purpose, the present application adopts the following technical scheme:
in a first aspect, a state management method is provided, where the state management method is applied to a cloud system including a cloud terminal and a cloud server, and the state management method includes:
acquiring a service type between a cloud terminal and a cloud server;
and determining the working state of the cloud terminal according to the service type.
Optionally, obtaining the service type between the cloud terminal and the cloud server includes:
when the service between the cloud terminal and the cloud server is a first preset service, determining the service type as a first service type; the first preset service comprises the following steps: at least one of authentication service of the cloud terminal, temporary login service of the cloud terminal to the cloud server, application APP service provided by the cloud server or management service of the cloud terminal, and uplink and downlink service between the cloud terminal and the cloud server;
When the service between the cloud terminal and the cloud server is a second preset service, determining the service type as a second service type; the second preset service comprises the following steps: the cloud server monitors at least one of a service of a cloud storage space of the cloud terminal, a service of the cloud server monitoring that the cloud terminal uses the APP, a service of the cloud server updating resource information according to display configuration information of the cloud terminal, and a service of the cloud server monitoring an online state of the cloud terminal.
Optionally, determining the working state of the cloud terminal according to the service type includes:
when the service type is the first service type, determining that the working state of the cloud terminal is a connection state;
and when the service type is the second service type, determining that the working state of the cloud terminal is an inactive state.
Optionally, when the working state of the cloud terminal is a connection state, the period of sending the polling message to the cloud server by the cloud terminal is a first period;
when the working state of the cloud terminal is in an inactive state, the period of the cloud terminal for sending the polling message to the cloud server is a second period;
the period time of the second period is longer than the period time of the first period.
Optionally, the state management method further includes:
receiving a termination message sent by a cloud terminal; when the termination message comprises release request information, the termination message is sent when the cloud terminal is in an inactive state; when the termination message comprises connection release information, the termination message is sent when the cloud terminal is in a closed and non-activated state; when the termination message comprises connection closing information, the termination message is sent when the cloud terminal closes a connection state;
And responding to the termination message, and disconnecting the communication connection with the cloud terminal.
In a second aspect, a state management apparatus is provided, which is applied to a cloud system including a cloud terminal and a cloud server, the state management apparatus including: an acquisition unit and a processing unit;
the acquisition unit is used for acquiring the service type between the cloud terminal and the cloud server;
and the processing unit is used for determining the working state of the cloud terminal according to the service type.
Optionally, the acquiring unit is specifically configured to:
when the service between the cloud terminal and the cloud server is a first preset service, determining the service type as a first service type; the first preset service comprises the following steps: at least one of authentication service of the cloud terminal, temporary login service of the cloud terminal to the cloud server, application APP service provided by the cloud server or management service of the cloud terminal, and uplink and downlink service between the cloud terminal and the cloud server;
when the service between the cloud terminal and the cloud server is a second preset service, determining the service type as a second service type; the second preset service comprises the following steps: the cloud server monitors at least one of a service of a cloud storage space of the cloud terminal, a service of the cloud server monitoring that the cloud terminal uses the APP, a service of the cloud server updating resource information according to display configuration information of the cloud terminal, and a service of the cloud server monitoring an online state of the cloud terminal.
Optionally, the processing unit is specifically configured to:
when the service type is the first service type, determining that the working state of the cloud terminal is a connection state;
and when the service type is the second service type, determining that the working state of the cloud terminal is an inactive state.
Optionally, when the working state of the cloud terminal is a connection state, the period of sending the polling message to the cloud server by the cloud terminal is a first period;
when the working state of the cloud terminal is in an inactive state, the period of the cloud terminal for sending the polling message to the cloud server is a second period;
the period time of the second period is longer than the period time of the first period.
Optionally, the state management device further includes: a receiving unit;
the receiving unit is used for receiving the termination message sent by the cloud terminal; when the termination message comprises release request information, the termination message is sent when the cloud terminal is in an inactive state; when the termination message comprises connection release information, the termination message is sent when the cloud terminal is in a closed and non-activated state; when the termination message comprises connection closing information, the termination message is sent when the cloud terminal closes a connection state;
and the processing unit is also used for responding to the termination message and disconnecting the communication connection with the cloud terminal.
In a third aspect, a state management apparatus is provided, comprising a memory and a processor; the memory is used for storing computer execution instructions, and the processor is connected with the memory through a bus; when the state management device is running, the processor executes computer-executable instructions stored in the memory to cause the state management device to perform the state management method of the first aspect.
The state management device may be a network device or may be a part of a device in a network device, for example, a chip system in a network device. The system-on-a-chip is configured to support the network device to implement the functions involved in the first aspect and any one of its possible implementations, for example, to obtain, determine, and send data and/or information involved in the above state management method. The chip system includes a chip, and may also include other discrete devices or circuit structures.
In a fourth aspect, there is provided a computer readable storage medium comprising computer executable instructions which, when run on a computer, cause the computer to perform the state management method of the first aspect.
In a fifth aspect, there is also provided a computer program product comprising computer instructions which, when run on a state management device, cause the state management device to perform the state management method as described in the first aspect above.
It should be noted that the above-mentioned computer instructions may be stored in whole or in part on a computer-readable storage medium. The computer readable storage medium may be packaged together with the processor of the state management device or may be packaged separately from the processor of the state management device, which is not limited in the embodiments of the present application.
The description of the second, third, fourth and fifth aspects of the present application may refer to the detailed description of the first aspect.
In the embodiment of the present application, the names of the above-mentioned state management devices do not limit the devices or function modules, and in actual implementation, these devices or function modules may appear under other names. For example, the receiving unit may also be referred to as a receiving module, a receiver, etc. Insofar as the function of each device or function module is similar to the present application, it is within the scope of the claims of the present application and the equivalents thereof.
The technical scheme provided by the application at least brings the following beneficial effects:
based on any one of the above aspects, an embodiment of the present application provides a state management method, which is applied to a cloud system including a cloud terminal and a cloud server. The cloud server can acquire the service type between the cloud terminal and the cloud server, and then determine the working state of the cloud terminal according to the service type.
In this way, the cloud server in the application can determine the working state of the cloud terminal through the service type between the cloud terminal and the cloud server, and a method for the cloud server to manage the working state of the cloud terminal in the cloud system scene formed by the cloud server and the cloud terminal is provided. Under the condition, the working state of the cloud terminal can be determined according to different service requirements, and then the interaction times of the interaction information (for example, when the working state of the cloud terminal is in an inactive state, the message content with low real-time performance is received and sent) can be adjusted under different working states, so that the power consumption of the cloud terminal is reduced, and the load of a cloud server is reduced.
Secondly, by using the cloud system, service data of the cloud terminal can be stored on the cloud server, so that the service data of the cloud terminal is ensured not to be lost under the condition that the cloud terminal used by a user is lost or damaged. In the general technology, after the APP manufacturer downloads and uses the APP through the mobile phone terminal manufacturer on-shelf user, the communication supervision department cannot realize real-time monitoring. The cloud server can conduct access interaction of APP and user information in real time through the cloud system communication mode, effective supervision is achieved, safety of user communication is further improved, APP manufacturers and the like are facilitated to achieve user tracking analysis, and safety agency information extraction is facilitated.
The advantages of the first, second, third, fourth and fifth aspects of the present application may be referred to for analysis of the above-mentioned advantages, and are not described here again.
Drawings
Fig. 1 is a schematic structural diagram of a cloud system according to an embodiment of the present application;
fig. 2 is a schematic diagram of a first hardware structure of a state management device according to an embodiment of the present application;
fig. 3 is a schematic diagram of a second hardware structure of the state management device according to the embodiment of the present application;
fig. 4 is a flow chart of a first state management method according to an embodiment of the present application;
fig. 5 is a flow chart of a second state management method according to an embodiment of the present application;
fig. 6 is a flow chart of a third state management method according to an embodiment of the present application;
fig. 7 is a flowchart of a fourth state management method according to an embodiment of the present application;
fig. 8 is a flowchart of a fifth state management method according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of a state management device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
It should be noted that, in the embodiments of the present application, words such as "exemplary" or "such as" are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "for example" should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete fashion.
In order to clearly describe the technical solutions of the embodiments of the present application, in the embodiments of the present application, the terms "first", "second", and the like are used to distinguish the same item or similar items having substantially the same function and effect, and those skilled in the art will understand that the terms "first", "second", and the like are not limited in number and execution order.
As described in the background art, at present, whether a cloud terminal or a common terminal is the cloud terminal or the common terminal, the common technology is that a base station manages the working state of the cloud terminal or the common terminal through a 3GPP protocol. However, in the context of a cloud system formed by a cloud server and a cloud terminal, there is not yet a method for managing an operating state of the cloud terminal by the cloud server.
In view of the above problems, an embodiment of the present application provides a state management method applied to a cloud system including a cloud terminal and a cloud server. The cloud server can acquire the service type between the cloud terminal and the cloud server, and then determine the working state of the cloud terminal according to the service type.
In this way, the cloud server in the application can determine the working state of the cloud terminal through the service type between the cloud terminal and the cloud server, and a method for the cloud server to manage the working state of the cloud terminal in the cloud system scene formed by the cloud server and the cloud terminal is provided. Under the condition, the working state of the cloud terminal can be determined according to different service requirements, and then the interaction times of the interaction information (for example, when the working state of the cloud terminal is in an inactive state, the message content with low real-time performance is received and sent) can be adjusted under different working states, so that the power consumption of the cloud terminal is reduced, and the load of a cloud server is reduced.
Secondly, by using the cloud system, service data of the cloud terminal can be stored on the cloud server, so that the service data of the cloud terminal is ensured not to be lost under the condition that the cloud terminal used by a user is lost or damaged. In the general technology, after the APP manufacturer downloads and uses the APP through the mobile phone terminal manufacturer on-shelf user, the communication supervision department cannot realize real-time monitoring. The cloud server can conduct access interaction of APP and user information in real time through the cloud system communication mode, effective supervision is achieved, safety of user communication is further improved, APP manufacturers and the like are facilitated to achieve user tracking analysis, and safety agency information extraction is facilitated.
The state management method is suitable for the cloud system. Fig. 1 shows one structure of the cloud system. As shown in fig. 1, the cloud system includes: cloud terminal 101, cloud server 102.
Wherein, the cloud terminal 101 is in communication connection with the cloud server 102.
In one implementation manner, the cloud server may be an operator cloud server, an APP vendor cloud server, or a cloud server of another operator, which is not limited in this application.
In practical applications, the cloud terminal 101 may be connected to a plurality of cloud servers, and the cloud server 102 may be connected to a plurality of cloud terminals. For ease of understanding, this application will be described by taking one cloud terminal 101 connected to one cloud server 102 as an example.
When a user logs in on the cloud terminal 101 by using an account number and a password, the cloud terminal 101 is connected with the cloud server 102, the cloud server 102 is usually identified by using an IP method, and the logged-in IP address can be resolved by a streaming method at an application layer so as to identify the cloud terminal 101. The application layer can analyze the IP address sent by the cloud terminal by taking T as a unit, and further monitor the performance of the server where different APP manufacturers are located through the analyzed IP address.
In practical applications, T may be on the order of minutes (e.g., 5 minutes), on the order of hours (e.g., 1 hour) or days (e.g., 1 day), or on the order of other units, which is not limited in this application.
Optionally, the cloud terminal 101 may install a subscriber identity module (Subscriber Identity Module, SIM) card, where the SIM card carries identity information of the subscriber. The cloud terminal 101 can realize the login of the APP only on a specific webpage or cloud software of a network cloud portal corresponding to a cloud server without installing an application store and the like. After a user logs in by using login information comprising a login account number and a login password, APP installation, unloading and other operations can be performed on the network cloud personal page.
For newly purchased cloud terminals 101, standards may be formulated uniformly, and a cloud login browser or software corresponding to the cloud server 102 may be installed. The user can enter the personal mobile phone interface corresponding to the private cloud space of the user by inputting the account password through the browser or the portal software.
Next, the user may install an APP corresponding to cloud server 102 in the cloud application market, thereby re-customizing the user terminal software and interfaces.
Optionally, after the user enters the personal interface in the cloud space through the login account password, the cloud terminal can automatically adapt to the screen display according to the sizes of the personal interface and the terminal screen, adjust the size and adjust the color according to the size of the terminal screen, and further adapt to various terminal screens, so that better perception experience is brought to the user.
In one implementation, if the cloud terminal is in an idle state, it is indicated that the cloud terminal is not performing account login. In this case, the idle state network side cannot report the user information. After the user logs in the account, the application layer can identify the IP address of the network cloud, and then the NAS layer identifies the information carrying the SIM card number or the original SIM card number and the temporary user number, so that the user positioning and other basic services are carried out.
In yet another implementation, the cloud system may provide differentiated services for the cloud terminal.
Specifically, after the user uses the data service, the user identifies and carries the SIM card number or temporary user number information through the NAS layer to identify and configure the differential configuration schemes such as user ARP.
Illustratively, the subscriber number corresponding to the SIM is identified as a gold subscriber and is preferably scheduled.
In another example, when the SIM card is identified as the user number corresponding to the temporary login account, the mobile phone number in the network seven-layer protocol may be modified according to the temporary login account, and the mobile phone number in the third-layer protocol may be scheduled according to the modified mobile phone number priority.
Alternatively, the cloud terminal may be a device that provides voice and/or data connectivity to the user, a handheld device with wireless connectivity, or other processing device connected to a wireless modem. The wireless terminal may communicate with one or more core networks via a radio access network (radio access network, RAN). The wireless terminals may be mobile terminals such as mobile telephones (or "cellular" telephones) and computers with mobile terminals, as well as portable, pocket, hand-held, computer-built-in or car-mounted mobile devices which exchange voice and/or data with radio access networks, e.g. cell phones, tablet computers, notebook computers, netbooks, personal digital assistants (personal digital assistant, PDA).
Optionally, the operating system of the cloud server 102 in fig. 1 may call multiple accounts and multiple systems at the same time, or may create multiple nano magnetic spaces to implement fine data reading, i.e. independently control multiple cloud terminals.
Cloud server 102 may create multiple nano-cloud spaces, one for each cloud terminal. In the nano cloud space, each cloud terminal can log in an account, then install APP corresponding to an APP manufacturer, use the APP, delete APP, address book and other reading, information receiving and transmitting reading, edit data, store and read data and the like.
Alternatively, the cloud server 102 may be one server in a server cluster (including multiple servers), or may be a chip in the server, or may be a system on a chip in the server, or may be implemented by a virtual machine deployed on a physical machine, which is not limited in this embodiment of the present application.
The basic hardware structures of the cloud terminal 101 and the cloud server 102 in the cloud system are similar, and each includes elements included in the state management apparatus shown in fig. 2 or fig. 3. The hardware configuration of the cloud terminal 101 and the cloud server 102 will be described below taking the state management apparatus shown in fig. 2 and 3 as an example.
Fig. 2 is a schematic hardware structure of a state management device according to an embodiment of the present application. The state management device comprises a processor 21, a memory 22, a communication interface 23, a bus 24. The processor 21, the memory 22 and the communication interface 23 may be connected by a bus 24.
The processor 21 is a control center of the state management device, and may be one processor or a collective name of a plurality of processing elements. For example, the processor 21 may be a general-purpose central processing unit (central processing unit, CPU), or may be another general-purpose processor. Wherein the general purpose processor may be a microprocessor or any conventional processor or the like.
As one example, processor 21 may include one or more CPUs, such as CPU 0 and CPU 1 shown in fig. 2.
Memory 22 may be, but is not limited to, a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (random access memory, RAM) or other type of dynamic storage device that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), magnetic disk storage or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer.
In a possible implementation, the memory 22 may exist separately from the processor 21, and the memory 22 may be connected to the processor 21 by a bus 24 for storing instructions or program code. The processor 21, when calling and executing instructions or program code stored in the memory 22, is capable of implementing the state management methods provided in the embodiments described below.
In the embodiment of the present application, the software programs stored in the memory 22 are different for the cloud terminal 101 and the cloud server 102, so that the functions implemented by the cloud terminal 101 and the cloud server 102 are different. The functions performed with respect to the respective devices will be described in connection with the following flowcharts.
In another possible implementation, the memory 22 may also be integrated with the processor 21.
The communication interface 23 is used for connecting the state management device with other devices through a communication network, such as ethernet, radio access network, wireless local area network (wireless local area networks, WLAN), etc. The communication interface 23 may include a receiving unit for receiving data, and a transmitting unit for transmitting data.
Bus 24 may be an industry standard architecture (industry standard architecture, ISA) bus, an external device interconnect (peripheral component interconnect, PCI) bus, or an extended industry standard architecture (extended industry standard architecture, EISA) bus, among others. The bus may be classified as an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in fig. 2, but not only one bus or one type of bus.
Fig. 3 shows another hardware structure of the state management device in the embodiment of the present application. As shown in fig. 3, the state management device may include a processor 31 and a communication interface 32. The processor 31 is coupled to a communication interface 32.
The function of the processor 31 may be as described above with reference to the processor 21. The processor 31 also has a memory function and can function as the memory 22.
The communication interface 32 is used to provide data to the processor 31. The communication interface 32 may be an internal interface of the state management device or an external interface (corresponding to the communication interface 23) of the state management device.
It should be noted that the structure shown in fig. 2 (or fig. 3) does not constitute a limitation of the state management device, and the state management device may include more or less components than those shown in fig. 2 (or fig. 3), or may combine some components, or may be arranged in different components.
The following describes a state management method provided in the embodiment of the present application in detail with reference to the accompanying drawings.
As shown in fig. 4, the state management method provided by the embodiment of the present application is applied to the cloud system including the cloud terminal and the cloud server shown in fig. 1. The state management method comprises the following steps:
S401, a cloud server acquires a service type between a cloud terminal and the cloud server.
Specifically, in order to reasonably and effectively manage the working state of the cloud terminal, the cloud server needs to acquire the service type between the cloud terminal and the cloud server, and further reasonably manage the working state of the cloud terminal through the service type between the cloud terminal and the cloud server.
Specifically, an APP inlet provided by a cloud server is installed on the cloud terminal. After the cloud terminal inputs the password to log in the cloud terminal APP, the cloud terminal can enter a personal interface provided by the cloud server, so that traffic service, voice service and the like are used. In this case, the cloud server may acquire the service type between the cloud terminal and the cloud server.
S402, the cloud server determines the working state of the cloud terminal according to the service type.
Specifically, after the service type between the cloud terminal and the cloud server is obtained, the cloud server may determine the working state of the cloud terminal according to the service type. In this way, the cloud server can reasonably manage the working state of the cloud terminal according to the service type between the cloud terminal and the cloud server, and a method for managing the working state of the cloud terminal in the cloud system scene formed by the cloud server and the cloud terminal is provided. Under the condition, the working state of the cloud terminal can be determined according to different service requirements, and then the interaction times of the interaction information (for example, when the working state of the cloud terminal is in an inactive state, the message content with low real-time performance is received and sent) can be adjusted under different working states, so that the power consumption of the cloud terminal is reduced, and the load of a cloud server is reduced.
In one implementation manner, after the cloud terminal enters the personal interface provided by the cloud server, traffic services, voice services and other services can be used. In this case, the cloud server may determine that the cloud terminal is in a connected state. When the cloud terminal enters a personal interface provided by the cloud server, the cloud terminal can be defined to be in a connection state.
Accordingly, after the cloud terminal exits the personal interface provided by the cloud server, the cloud server may determine that the cloud terminal is in an inactive state.
In an embodiment, referring to fig. 4, as shown in fig. 5, in S501, a method for obtaining, by a cloud server, a service type between a cloud terminal and the cloud server specifically includes:
s501, when the service between the cloud terminal and the cloud server is a first preset service, the cloud server determines the service type as a first service type.
The first preset service comprises the following steps: at least one of authentication service of the cloud terminal, temporary login service of the cloud terminal to the cloud server, service of the cloud terminal to use or manage Application (APP) provided by the cloud server, and uplink and downlink service between the cloud terminal and the cloud server.
It should be noted that, the above-mentioned service that the cloud terminal temporarily logs in to the cloud server means that the cloud terminal does not use the bound SIM card to log in, but logs in through the SIM cards of other users.
S502, when the service between the cloud terminal and the cloud server is a second preset service, the cloud server determines the service type as a second service type.
The second preset service comprises the following steps: the cloud server monitors at least one of a service of a cloud storage space of the cloud terminal, a service of the cloud server monitoring that the cloud terminal uses the APP, a service of the cloud server updating resource information according to display configuration information of the cloud terminal, and a service of the cloud server monitoring an online state of the cloud terminal.
It should be noted that, the online state of the cloud terminal includes: the login account of the cloud terminal is in an online state and an offline state.
In an embodiment, referring to fig. 5, as shown in fig. 6, in S502, a method for determining, by a cloud server, a working state of a cloud terminal according to a service type specifically includes:
and S601, when the service type is the first service type, the cloud server determines that the working state of the cloud terminal is a connection state.
Specifically, when the cloud terminal uses the first preset service, it is indicated that the cloud terminal is in a state of logging in the APP provided by the cloud server. In this case, the cloud server may determine the operation state of the cloud terminal as the connection state.
In one implementation manner, when the first preset service is a service that the cloud server authenticates the cloud terminal, it is stated that the cloud server is authenticating the cloud terminal. In this case, the cloud terminal and the cloud server need to maintain communication connection, and therefore, the cloud server can determine that the operating state of the cloud terminal is a connected state.
In still another implementation manner, when the first preset service is a service that the cloud terminal temporarily logs in to the cloud server, it is indicated that the cloud terminal is logging in to the cloud server through the temporary login information. In this case, the cloud terminal and the cloud server need to maintain communication connection, and therefore, the cloud server can determine that the operating state of the cloud terminal is a connected state.
In yet another implementation manner, when the first preset service is a service of the cloud terminal using or managing the application program APP provided by the cloud server, it is indicated that the cloud terminal is using the APP. In this case, the cloud terminal and the cloud server need to maintain communication connection, and therefore, the cloud server can determine that the operating state of the cloud terminal is a connected state.
In still another implementation manner, when the first preset service is a downlink service between the cloud terminal and the cloud server, it is described that the cloud terminal and the cloud server are performing interaction of the context information. In this case, the cloud terminal and the cloud server need to maintain communication connection, and therefore, the cloud server can determine that the operating state of the cloud terminal is a connected state.
In some embodiments, when the working state of the cloud terminal is a connection state, a period of sending a polling message to the cloud server by the cloud terminal is a first period.
S602, when the service type is the second service type, the cloud server determines that the working state of the cloud terminal is an inactive state.
Specifically, when the cloud terminal uses the second preset service, it is indicated that the cloud terminal is not in a state of logging in the APP provided by the cloud server. In this case, the cloud server may determine that the operation state of the cloud terminal is an inactive state.
In one implementation manner, when the second preset service is a service that the cloud server monitors the cloud storage space of the cloud terminal, or the cloud server monitors a service that the cloud terminal uses the APP, or the cloud server monitors the online state of the cloud terminal, it is indicated that the cloud server is in the monitoring state, and the cloud terminal does not need to be in the login state. In this case, the cloud terminal and the cloud server do not need to maintain communication connection, and therefore, the cloud server can determine that the operating state of the cloud terminal is an inactive state.
In still another implementation manner, when the second preset service is a service that the cloud server updates the resource information according to the display configuration information of the cloud terminal, the cloud server is stated to be in a state of updating the resource information, and the cloud terminal is not required to be in a login state. In this case, the cloud terminal and the cloud server do not need to maintain communication connection, and therefore, the cloud server can determine that the operating state of the cloud terminal is an inactive state.
In still another implementation manner, when the second preset service is a service that the cloud server updates the resource information according to the display configuration information of the cloud terminal, the cloud server is stated to be in a state of updating the resource information, and the cloud terminal is not required to be in a login state. In this case, the cloud terminal and the cloud server do not need to maintain communication connection, and therefore, the cloud server can determine that the operating state of the cloud terminal is an inactive state.
In some embodiments, when the working state of the cloud terminal is inactive, the period in which the cloud terminal sends the polling message to the cloud server is the second period.
Wherein the period time of the second period is longer than the period time of the first period.
Alternatively, the period duration of the second period may be n times the period duration of the first period. n is greater than 0.
The polling period interval of the cloud terminal in a connection state is M seconds, and the polling period interval of the cloud terminal in an inactive state is m×n seconds, i.e. the number of times of information interaction in the inactive state is less than the number of times of information interaction in the connection state. M, N are all greater than 0.
In this way, the period of sending the polling message to the cloud server by the cloud terminal in the inactive state is longer, so that the number and times of the first messages of the cloud terminal and the cloud server are reduced, and the information interaction between the cloud terminal and the cloud server can be reduced to a certain extent. And secondly, the cloud terminal in the inactive state can receive and send the message content with low real-time performance, so that the power consumption of the cloud terminal is further reduced, and the load of a cloud server is also reduced.
In one embodiment, as shown in fig. 7, the state management method provided in the present application further includes:
s701, the cloud server receives a termination message sent by the cloud terminal.
When the termination message comprises release request information, the termination message is sent when the cloud terminal is in an inactive state. When the termination message comprises connection release information, the termination message is sent when the cloud terminal is in a closed and non-activated state. When the termination message comprises connection closing information, the termination message is sent when the cloud terminal closes the connection state.
S702, the cloud server responds to the termination message to disconnect communication connection with the cloud terminal.
As shown in fig. 8, the communication process between the cloud terminal and the cloud server includes: a connection establishment phase, a data transmission phase and a connection release phase.
In the connection establishment phase, the cloud terminal may send a synchronization message to the cloud server. The synchronization message is used for indicating that the cloud terminal applies for using the service provided by the cloud server.
After receiving the synchronization message, the cloud server may send a response message to the cloud terminal. The response message includes a mobile phone number, user account information, SIM card information, etc.
In the data transmission stage, the cloud terminal can send login information to the cloud server and apply for using service resources corresponding to the cloud terminal screen. The login message includes information such as the screen size of the cloud terminal.
After receiving the login information, the cloud server can update service resources required by the cloud terminal according to the information such as the screen size of the cloud terminal, and send an adaptation confirmation message to the cloud terminal.
In the data transmission stage, the cloud terminal can also send a space capacity meeting confirmation message to the cloud server, so that the cloud server is prompted to judge whether the available capacity of the storage space of the cloud terminal meets the user requirement.
After receiving the confirmation message that the space capacity sent by the cloud terminal meets the requirement of the user, the cloud server can judge whether the available capacity of the storage space of the cloud terminal meets the requirement of the user, and when determining that the available capacity of the storage space of the cloud terminal is greater than the preset capacity (determined according to the requirement of the user), the cloud server sends a response confirmation message to the cloud terminal, so that the cloud terminal can complete login.
Accordingly, when the cloud server determines that the available capacity of the storage space of the cloud terminal is smaller than or equal to the preset capacity (determined according to the user requirement), a prompt message of insufficient personal space can be sent to the cloud terminal.
After receiving the prompt message, the cloud terminal can send a request message to the cloud server to request the personal space change (namely, apply for expanding the personal space). After receiving the personal space change request of the cloud terminal, the cloud server can expand the personal space of the cloud terminal and send a response message to the cloud terminal after completing the expansion.
After receiving the response message, the cloud terminal can confirm whether the expansion of the personal space meets the user requirement. When the confirmation is correct, a confirmation message may be sent to the cloud server. Correspondingly, after receiving the confirmation message, the server can send a response confirmation message to the cloud terminal, so that the cloud terminal can complete login.
In the data transmission stage, the cloud terminal may also send a connection usage request message to the cloud server, where the connection usage request message is used to request the cloud server to perform context management (e.g. update, delete APP, etc.) on the cloud terminal. After receiving the connection use request message, the server can send a response message to the cloud terminal, so that the cloud terminal can finish connection use.
In the data transmission stage, the cloud terminal may further send a monitoring request message to the cloud server, where the monitoring request message is used to request the cloud server to monitor personal login information, screen configuration information, and personal space capacity. After receiving the monitoring request message, the server may send monitored information, such as login information, screen proportion information, space size information, and the like, to the cloud terminal.
Optionally, the cloud terminal may further send release request information FN1 or connection release information FN2 to the cloud server. After receiving the release request information FN1 or the connection release information FN2, the server may send a response message to the cloud terminal, so that the cloud terminal completes the release.
In the connection release phase, the cloud terminal may also send connection close information FN3 to the cloud server. After receiving the connection closing information FN3, the server may send a response message to the cloud terminal, so as to close the connection between the cloud terminal and the cloud server.
The foregoing description of the solution provided in the embodiments of the present application has been mainly presented in terms of a method. To achieve the above functions, it includes corresponding hardware structures and/or software modules that perform the respective functions. Those of skill in the art will readily appreciate that the elements and algorithm steps of the examples described in connection with the embodiments disclosed herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is implemented as hardware or computer software driven hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The embodiment of the present application may divide the function modules of the state management device according to the above method example, for example, each function module may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The integrated modules may be implemented in hardware or in software functional modules. Optionally, the division of the modules in the embodiments of the present application is schematic, which is merely a logic function division, and other division manners may be actually implemented.
Fig. 9 is a schematic structural diagram of a state management device according to an embodiment of the present application. The state management device may be used to perform the method of state management shown in fig. 4-8. The state management device shown in fig. 9 is applied to a cloud system including a cloud terminal and a cloud server, and includes: an acquisition unit 901 and a processing unit 902;
an acquiring unit 901, configured to acquire a service type between a cloud terminal and a cloud server;
and the processing unit 902 is configured to determine the working state of the cloud terminal according to the service type.
Optionally, the acquiring unit 901 is specifically configured to:
when the service between the cloud terminal and the cloud server is a first preset service, determining the service type as a first service type; the first preset service comprises the following steps: at least one of authentication service of the cloud terminal, temporary login service of the cloud terminal to the cloud server, application APP service provided by the cloud server or management service of the cloud terminal, and uplink and downlink service between the cloud terminal and the cloud server;
when the service between the cloud terminal and the cloud server is a second preset service, determining the service type as a second service type; the second preset service comprises the following steps: the cloud server monitors at least one of a service of a cloud storage space of the cloud terminal, a service of the cloud server monitoring that the cloud terminal uses the APP, a service of the cloud server updating resource information according to display configuration information of the cloud terminal, and a service of the cloud server monitoring an online state of the cloud terminal.
Optionally, the processing unit 902 is specifically configured to:
when the service type is the first service type, determining that the working state of the cloud terminal is a connection state;
and when the service type is the second service type, determining that the working state of the cloud terminal is an inactive state.
Optionally, when the working state of the cloud terminal is a connection state, the period of sending the polling message to the cloud server by the cloud terminal is a first period;
when the working state of the cloud terminal is in an inactive state, the period of the cloud terminal for sending the polling message to the cloud server is a second period;
the period time of the second period is longer than the period time of the first period.
Optionally, the state management device further includes: a receiving unit 903;
a receiving unit 903, configured to receive a termination message sent by a cloud terminal; when the termination message comprises release request information, the termination message is sent when the cloud terminal is in an inactive state; when the termination message comprises connection release information, the termination message is sent when the cloud terminal is in a closed and non-activated state; when the termination message comprises connection closing information, the termination message is sent when the cloud terminal closes a connection state;
the processing unit 902 is further configured to disconnect the communication connection with the cloud terminal in response to the termination message.
The present application also provides a computer-readable storage medium including computer-executable instructions that, when executed on a computer, cause the computer to perform the state management method provided in the above embodiments.
The embodiment of the present application also provides a computer program, which can be directly loaded into a memory and contains software codes, and the computer program can implement the state management method provided in the above embodiment after being loaded and executed by a computer.
Those of skill in the art will appreciate that in one or more of the examples described above, the functions described herein may be implemented in hardware, software, firmware, or any combination thereof. When implemented in software, these functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer-readable storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
From the foregoing description of the embodiments, it will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of functional modules is illustrated, and in practical application, the above-described functional allocation may be implemented by different functional modules according to needs, i.e. the internal structure of the apparatus is divided into different functional modules to implement all or part of the functions described above.
In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described embodiments of the apparatus are merely illustrative, and the division of modules or units, for example, is merely a logical function division, and other manners of division are possible when actually implemented. For example, multiple units or components may be combined or may be integrated into another device, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form. The units described as separate parts may or may not be physically separate, and the parts shown as units may be one physical unit or a plurality of physical units, may be located in one place, or may be distributed in a plurality of different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units. The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a readable storage medium. Based on such understanding, the technical solution of the embodiments of the present application may be essentially or a part contributing to the prior art or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium, including several instructions for causing a device (may be a single-chip microcomputer, a chip or the like) or a processor (processor) to perform all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a usb disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk, etc.
The foregoing is merely specific embodiments of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions easily conceivable by those skilled in the art within the technical scope of the present application should be covered in the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (6)

1. A state management method, wherein the state management method is applied to a cloud system including a cloud terminal and a cloud server, the state management method comprising:
when the service between the cloud terminal and the cloud server is a first preset service, determining the service type between the cloud terminal and the cloud server as a first service type; the first preset service comprises the following steps: at least one of a service of authenticating the cloud terminal by the cloud server, a service of logging in the cloud server temporarily by the cloud terminal, and a service of using or managing an Application (APP) provided by the cloud server by the cloud terminal; the cloud terminal temporarily logs in the cloud server according to the SIM card of other users except the bound SIM card;
when the service between the cloud terminal and the cloud server is a second preset service, determining the service type as a second service type; the second preset service comprises the following steps: the cloud server monitors at least one of a service of a cloud storage space of the cloud terminal, a service of the cloud server for monitoring the cloud terminal to use the APP, a service of the cloud server for updating resource information according to display configuration information of the cloud terminal, and a service of the cloud server for monitoring an online state of the cloud terminal; the online state of the cloud terminal comprises: the login account of the cloud terminal is in an online state and an offline state;
When the service type is the first service type, determining that the working state of the cloud terminal is a connection state;
when the service type is the second service type, determining that the working state of the cloud terminal is an inactive state;
receiving a termination message sent by the cloud terminal; when the termination message comprises release request information, the termination message is sent when the cloud terminal starts the inactive state; when the termination message comprises connection release information, the termination message is sent when the cloud terminal is closed to the inactive state; when the termination message comprises connection closing information, the termination message is sent when the cloud terminal closes the connection state;
and responding to the termination message, and disconnecting communication connection with the cloud terminal.
2. The method of claim 1, wherein,
when the working state of the cloud terminal is the connection state, the period of the cloud terminal for sending the polling message to the cloud server is a first period;
when the working state of the cloud terminal is the inactive state, the period of the cloud terminal for sending the polling message to the cloud server is a second period;
The period time of the second period is longer than the period time of the first period.
3. A state management device, wherein the state management device is applied to a cloud system including a cloud terminal and a cloud server, the state management device comprising: the device comprises an acquisition unit, a processing unit and a receiving unit;
the acquiring unit is used for determining the service type between the cloud terminal and the cloud server as a first service type when the service between the cloud terminal and the cloud server is a first preset service; the first preset service comprises the following steps: at least one of a service of authenticating the cloud terminal by the cloud server, a service of logging in the cloud server temporarily by the cloud terminal, and a service of using or managing an Application (APP) provided by the cloud server by the cloud terminal; the cloud terminal temporarily logs in the cloud server according to the SIM card of other users except the bound SIM card;
the acquiring unit is further configured to determine the service type as a second service type when the service between the cloud terminal and the cloud server is a second preset service; the second preset service comprises the following steps: the cloud server monitors at least one of a service of a cloud storage space of the cloud terminal, a service of the cloud server for monitoring the cloud terminal to use the APP, a service of the cloud server for updating resource information according to display configuration information of the cloud terminal, and a service of the cloud server for monitoring an online state of the cloud terminal; the online state of the cloud terminal comprises: the login account of the cloud terminal is in an online state and an offline state;
The processing unit is used for determining that the working state of the cloud terminal is a connection state when the service type is the first service type;
the processing unit is further configured to determine that the working state of the cloud terminal is an inactive state when the service type is the second service type;
the receiving unit is used for receiving a termination message sent by the cloud terminal; when the termination message comprises release request information, the termination message is sent when the cloud terminal starts the inactive state; when the termination message comprises connection release information, the termination message is sent when the cloud terminal is closed to the inactive state; when the termination message comprises connection closing information, the termination message is sent when the cloud terminal closes the connection state;
and the processing unit is also used for responding to the termination message and disconnecting the communication connection with the cloud terminal.
4. The state management device according to claim 3, wherein,
when the working state of the cloud terminal is the connection state, the period of the cloud terminal for sending the polling message to the cloud server is a first period;
When the working state of the cloud terminal is the inactive state, the period of the cloud terminal for sending the polling message to the cloud server is a second period;
the period time of the second period is longer than the period time of the first period.
5. A state management device comprising a memory and a processor; the memory is used for storing computer execution instructions, and the processor is connected with the memory through a bus; when the state management device is running, the processor executes the computer-executable instructions stored in the memory to cause the state management device to perform the state management method of claim 1 or 2.
6. A computer-readable storage medium comprising computer-executable instructions that, when run on a computer, cause the computer to perform the state management method of claim 1 or 2.
CN202210682635.9A 2022-06-16 2022-06-16 State management method, device and storage medium Active CN115460676B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210682635.9A CN115460676B (en) 2022-06-16 2022-06-16 State management method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210682635.9A CN115460676B (en) 2022-06-16 2022-06-16 State management method, device and storage medium

Publications (2)

Publication Number Publication Date
CN115460676A CN115460676A (en) 2022-12-09
CN115460676B true CN115460676B (en) 2024-03-15

Family

ID=84296352

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210682635.9A Active CN115460676B (en) 2022-06-16 2022-06-16 State management method, device and storage medium

Country Status (1)

Country Link
CN (1) CN115460676B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108055707A (en) * 2018-02-13 2018-05-18 广东欧珀移动通信有限公司 state switching method, device, terminal and storage medium
CN108391326A (en) * 2018-02-13 2018-08-10 广东欧珀移动通信有限公司 Manage the method, apparatus and terminal being wirelessly connected
CN110149680A (en) * 2018-02-11 2019-08-20 北京三星通信技术研究有限公司 Power-saving processing method, server, base station and terminal device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10834182B2 (en) * 2017-03-29 2020-11-10 International Business Machines Corporation Managing idle and active servers in cloud data centers
TWI646434B (en) * 2017-04-24 2019-01-01 宏碁股份有限公司 Cloud management system and device configuration method thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110149680A (en) * 2018-02-11 2019-08-20 北京三星通信技术研究有限公司 Power-saving processing method, server, base station and terminal device
CN108055707A (en) * 2018-02-13 2018-05-18 广东欧珀移动通信有限公司 state switching method, device, terminal and storage medium
CN108391326A (en) * 2018-02-13 2018-08-10 广东欧珀移动通信有限公司 Manage the method, apparatus and terminal being wirelessly connected

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
《Energy Efficiency Enhancement with RRC Connection Control for 5G New RAT》;Ryoo, S;《 2018 IEEE WIRELESS COMMUNICATIONS AND NETWORKING CONFERENCE (WCNC)》;20180713;全文 *
国网北京市电力公司云终端系统设计与应用;李新;李祉岐;;电力信息与通信技术;20160715(第07期);全文 *
智能移动终端对移动网络流量影响研究;周晓龙;邸青;吕文琪;;信息通信技术;20130815(第04期);全文 *

Also Published As

Publication number Publication date
CN115460676A (en) 2022-12-09

Similar Documents

Publication Publication Date Title
CN105764124B (en) Method for reducing power consumption of terminal and terminal
US11039299B2 (en) ESIM card activation method, wireless router, and user terminal
CN105338515B (en) Data service transmission method and mobile communication equipment
EP2965553B1 (en) Method and apparatus for multisim devices with embedded sim functionality
US11716612B1 (en) Bootstrap electronic subscriber identity module configuration
WO2015157949A1 (en) Wireless local area network (wlan) access method, terminal and server
US20180091581A1 (en) Method of switching download mode, control method thereof and control system thereof
CN106131816B (en) Virtual SIM card management method and terminal
WO2018192554A1 (en) Ims parameter configuration method, system and mobile terminal
EP1503602A1 (en) Methods and apparatus for performing a subscriber identity module (SIM) initialization procedure
CN105933888A (en) Burning method and device of eSIM (Subscriber Identity Module) card based on NFC
US11601817B2 (en) Postponed eSIM delivery to secondary mobile wireless device for cellular wireless service subscription
US9769671B1 (en) Securing identities of chipsets of mobile devices
CN103812900A (en) Data synchronization method, device and system
CN111727595B (en) Method, apparatus and computer readable storage medium for communication
CN110891266B (en) Network roaming method, device, terminal equipment and storage medium
CN113225761A (en) Method for selecting network slice and electronic equipment
JP2007520101A (en) Method and device for pre-storing personal data about a subscriber of a telecommunications network
CN102111900A (en) Method and system for establishing radio resource control (RRC) connection and mobile terminal
JP5292645B2 (en) Wireless communication apparatus and service transmission method having different security levels
CN102891900B (en) A kind of method, apparatus and system of the domain name mapping in flow unloading
CN115460676B (en) State management method, device and storage medium
CN113207158B (en) Internet of things access method, device, equipment and storage medium
CN110650071B (en) Access management method and device of user equipment and management server
CN101772218A (en) Mobile phone communication method and system adopting same

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