Equipment control method and device, electronic equipment and storage medium
Through the first server, the operator can automatically lock and unlock the equipment, which solves the problems of low management efficiency and high cost of operators, and achieves efficient equipment management and cost reduction.
Patent Information
- Application Number
- CN202311132765.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-04
- Publication Date
- 2025-03-04
AI Technical Summary
In the prior art, operators have low management efficiency and high cost when managing contract equipment, and are unable to efficiently lock and unlock the equipment.
A method for controlling a device is provided, providing services to at least two operators to manage corresponding devices through the first server, obtaining information corresponding to the device, and sending instructions to the device based on the information and a preset policy, so as to realize automatic switching of the device between a locked and a non-locked state.
It improves the efficiency of operator management equipment, reduces operator management costs, simplifies operator management steps, and improves user experience.
Smart Images

Figure CN119562008A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of electronic equipment but is not limited to the field of electronic equipment, and in particular to a device control method, device, electronic equipment and storage medium. Background Art
[0002] In the related art, operators put forward the demand for contract equipment, that is, when users buy mobile phones from operators, they do not pay the full fee, but pay in installments according to the contract signed between the operator and the user. If the user does not pay the fee on time, the device will be locked, and the device will only be unlocked after the user pays the fee. In the related art, the operator generally manages the locking and unlocking of devices, but in the process of the operator managing the equipment, there are problems of low management efficiency and high management costs for the operator. Summary of the invention
[0003] In view of this, the embodiments of the present disclosure disclose a method and apparatus for controlling a device, an electronic device, and a storage medium.
[0004] According to a first aspect of an embodiment of the present disclosure, a method for controlling a device is provided, the method being applied to a first server, the first server being used to provide a service for managing corresponding devices for at least two operators, the method further comprising:
[0005] Acquire first information corresponding to a first device; wherein the first information indicates whether a user has a first permission to use the first device; the first device is a device corresponding to a first operator; the first operator is one of the at least two operators;
[0006] Based on the first information and the first policy, second information is sent to the first device; wherein the first policy is at least used to adjust the operating state of the first device; and the second information instructs the first device to switch between a locked state and an unlocked state.
[0007] In one embodiment, the first information indicates a payment result of the user paying the first operator a fee to be paid for purchasing the first device, and the payment result is used to determine whether the user has the first authority.
[0008] In one embodiment, the second information includes one of the following:
[0009] first indication information, used to instruct the first device to switch to the locked state;
[0010] The second indication information is used to instruct the first device to switch to the unlocked state.
[0011] In one embodiment, sending second information to the first device based on the first information and the first policy includes:
[0012] In response to the first information indicating that the user has not paid the fee to be paid, sending the first indication information to the first device based on the first policy;
[0013] or,
[0014] In response to the first information indicating that the user has paid the fee to be paid, the second indication information is sent to the first device based on the first policy.
[0015] In one embodiment, the first strategy includes at least one of the following:
[0016] The first sub-strategy is a strategy for locking the first device according to a first payment result; the first payment result is a result that the user fails to pay all the fees to be paid on time;
[0017] The second sub-strategy is a strategy for locking the first device according to a second payment result; the second payment result is a result that the user fails to pay part of the to-be-paid fee on time;
[0018] The third sub-strategy is a strategy for unlocking the first device according to a third payment result; the third payment result is a result that the user pays the fee to be paid.
[0019] In one embodiment, the first strategy is a preset strategy and / or a strategy updated from the preset strategy.
[0020] In one embodiment, before sending second information to the first device based on the first information and the first policy, the method further includes:
[0021] registering device information of the first device in the first server;
[0022] In response to successful registration, a first request message is sent to a second server; wherein the second server is used to update the program package of the first device; and the first request message is used to request the second server to prohibit updating the program package of the first device.
[0023] In one embodiment, the second information indicates that the first device switches between the locked state and the unlocked state through a functional module; wherein the functional module is at least used to lock the first device or unlock the first device.
[0024] In one embodiment, the method further comprises:
[0025] In response to the user paying all the fees for purchasing the first device, third information is sent to the first device; wherein the third information indicates uninstalling the functional module in the first device.
[0026] In one embodiment, the method further comprises:
[0027] In response to receiving first confirmation information sent by the first device in response to the third information, deleting the device information in the first server,
[0028] and / or,
[0029] In response to receiving the first confirmation information sent by the first device in response to the third information, second request information is sent to the second server, wherein the second request information is used to request the second server to allow updating of the program package of the first device.
[0030] In one embodiment, registering the device information of the first device in the first server includes:
[0031] Registering device information of the first device based on the first file information; wherein the first file information carries the device information;
[0032] and / or,
[0033] Based on the detected first input operation, the device information of the first device is registered; wherein the first input operation is used to input the device information.
[0034] In one embodiment, the method further comprises:
[0035] receiving fourth information sent by the first device; wherein the fourth information indicates information of a key and / or a token used for communication between the first device and the first server;
[0036] The sending the second information to the first device includes:
[0037] The second information is sent to the first device using the key and / or token.
[0038] In one embodiment, the method further comprises:
[0039] Obtaining a payment deadline, wherein the payment deadline is a deadline for paying the fee agreed upon by the first operator and the user;
[0040] Before the payment deadline, based on a second policy, a prompt message is sent to the first device; wherein the second policy is a policy for prompting the user to pay the fee, and the prompt message is used to prompt the user to pay the fee according to the payment deadline.
[0041] In one embodiment, the acquiring first information corresponding to the first device includes:
[0042] receiving first information sent by a third server;
[0043] The third server is used to manage the first information of the device corresponding to the first operator.
[0044] According to a second aspect of an embodiment of the present disclosure, a method for controlling a device is provided. The method is applied to a first device, where the first device is a device corresponding to a first operator. The method further includes:
[0045] Receiving second information sent by the first server based on the first policy and the first information;
[0046] Among them, the first server is used to provide services for managing corresponding devices for at least two operators, the first information indicates whether the user has the first authority to use the first device; the first device is a device corresponding to the first operator; the first operator is one of the at least two operators; the first policy is used to adjust the operating state of the first device; the second information indicates that the first device switches between a locked state and an unlocked state.
[0047] In one embodiment, the first information indicates a payment result of the user paying the first operator a fee to be paid for purchasing the first device, and the payment result is used to determine whether the user has the first authority.
[0048] In one embodiment, the second information includes at least one of the following:
[0049] first indication information, used to instruct the first device to switch to the locked state;
[0050] The second indication information is used to instruct the first device to switch to the unlocked state.
[0051] In one embodiment, sending second information to the first device based on the first information and the first policy includes:
[0052] In response to the user not paying the fee to be paid, receiving the first indication information sent by the first server based on the first policy;
[0053] or,
[0054] In response to the user paying the fee to be paid, receiving the second indication information sent by the first server based on the first policy.
[0055] In one embodiment, the first strategy includes at least one of the following:
[0056] The first sub-strategy is a strategy for locking the first device according to a first payment result; the first payment result is a result that the user fails to pay all the fees to be paid on time;
[0057] The second sub-strategy is a strategy for locking the first device according to a second payment result; the second payment result is a result that the user fails to pay part of the to-be-paid fee on time;
[0058] The third sub-strategy is a strategy for unlocking the first device according to a third payment result; the third payment result is a result that the user pays the fee to be paid.
[0059] In one embodiment, the first strategy is a preset strategy and / or a strategy updated from the preset strategy.
[0060] In one embodiment, before receiving the second information sent by the first server based on the first policy and the first information, the method further includes:
[0061] In response to the first device being turned on for the first time, a first operation and a second operation are performed; wherein the first operation is an operation of forcing networking, and the second operation is an operation of configuring a functional module in a networked state; the functional module is at least used to lock the first device and / or unlock the first device.
[0062] In one embodiment, the functional module includes a first functional module and a second functional module, the first functional module is used to send instructions to the second functional module according to the second information; the second functional module is used to lock the first device or unlock the first device according to the instructions sent by the first functional module.
[0063] In one embodiment, the receiving the second information sent by the first server based on the first policy and the first information includes:
[0064] receiving the second information through the first functional module;
[0065] The method further comprises:
[0066] In response to receiving the second information, the first device is locked or unlocked using the second functional module.
[0067] In one embodiment, the locked state is a state in which the application of the device is locked, and the unlocked state is a state in which the application of the device is unlocked; the first permission includes a permission for a user to use the application of the first device.
[0068] In one embodiment, when the first device is in a locked state, the first functional module is further configured to provide an unlocked application.
[0069] In one embodiment, the method further comprises:
[0070] In response to the user paying all the fees for purchasing the first device, receiving third information sent by the first server; wherein the third information indicates information of uninstalling the functional module in the first device;
[0071] Based on the third information, the functional module is uninstalled.
[0072] In one embodiment, the method further comprises:
[0073] In response to uninstalling the functional module in the first device, first confirmation information is sent to the first server.
[0074] In one embodiment, the method further comprises:
[0075] Acquire fourth information; wherein the fourth information indicates information of a key and / or a token used for communication between the first device and the first server;
[0076] The fourth information is sent to the first server.
[0077] In one embodiment, the second information is further determined based on the key and / or the token.
[0078] In one embodiment, the method further comprises:
[0079] Before the payment deadline, receiving a prompt message sent by the first server based on a third policy;
[0080] The payment deadline is the deadline for paying the fee agreed upon by the first operator and the user; the third strategy is a strategy for prompting the user to pay the fee, and the prompt information is used to prompt the user to pay the fee on time.
[0081] According to a third aspect of an embodiment of the present disclosure, a method for controlling a device is provided, the method being applied to a second server, the method comprising:
[0082] A first request message sent by a first server is received; wherein the second server is used to update a program package of a first device; and the first request message is used to request the second server to prohibit updating of the program package of the first device.
[0083] In one embodiment, the method further comprises:
[0084] In response to receiving the first request information, the first device is added to a first list; wherein the second server prohibits updating of program packages of devices in the first list.
[0085] In one embodiment, the method further comprises:
[0086] Receive second request information sent by the first server; wherein the second request information is used to request the second server to allow updating of the program package of the first device.
[0087] In one embodiment, the method further comprises:
[0088] In response to receiving the second request information, the first device is deleted from the first list; wherein the second server allows updating of program packages of devices outside the first list.
[0089] According to a third aspect of an embodiment of the present disclosure, a control device for a device is provided, the device comprising:
[0090] An acquisition module is used to acquire first information corresponding to a first device; wherein the first information indicates whether a user has a first permission to use the first device; the first device is a device corresponding to a first operator; a sending module is used to send second information to the first device based on the first information and a first policy; wherein the first policy is at least used to adjust the operating state of the first device; the second information indicates that the first device switches between a locked state and an unlocked state; the locked state is a state in which the first device is locked; and the unlocked state is a state in which the first device is not locked.
[0091] According to a fourth aspect of an embodiment of the present disclosure, a control device for a device is provided, the device comprising:
[0092] A receiving module, configured to receive second information sent by the first server based on the first policy and the first information;
[0093] Among them, the first server is used to provide services for managing corresponding devices for at least two operators, the first information indicates whether the user has the first authority to use the first device; the first device is a device corresponding to the first operator; the first operator is one of the at least two operators; the first policy is used to adjust the operating state of the first device; the second information indicates that the first device switches between a locked state and an unlocked state; the locked state is a state in which the first device is locked; and the unlocked state is a state in which the first device is not locked.
[0094] According to a fifth aspect of an embodiment of the present disclosure, there is provided an electronic device, the electronic device comprising:
[0095] processor;
[0096] a memory for storing instructions executable by the processor;
[0097] The processor is configured to implement the method described in any embodiment of the present disclosure when running the executable instructions.
[0098] According to a sixth aspect of an embodiment of the present disclosure, a computer storage medium is provided, wherein the computer storage medium stores a computer executable program, and when the executable program is executed by a processor, the method described in any embodiment of the present disclosure is implemented.
[0099] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:
[0100] In an embodiment of the present disclosure, the embodiment of the present disclosure provides a method for controlling a device, the method being applied to a first server, the first server being used to provide services for managing corresponding devices for at least two operators, the method further comprising: obtaining first information corresponding to the first device; wherein the first information indicates whether a user has a first authority to use the first device; the first device is a device corresponding to a first operator; the first operator is one of the at least two operators; based on the first information and a first policy, sending second information to the first device; wherein the first policy is at least used to adjust the operating state of the first device; the second information indicates that the first device switches between a locked state and an unlocked state; the locked state is a state in which the first device is locked; and the unlocked state is a state in which the first device is not locked.
[0101] Here, on the one hand, for the first device corresponding to the first operator, the first server can send the second information to the first device based on the first information and the first policy, the first information indicating whether the user has the first permission to use the first device; the first device is the device corresponding to the first operator, and the second information indicates that the first device switches between a locked state and an unlocked state. Therefore, the first server can be used to automatically send the second information to indicate that the first device switches to a locked state or an unlocked state. At this time, there is no need for the first operator to manually lock the first device or unlock the first device. Compared with the method in the related art in which the operator cannot efficiently manage the device, the first device can be automatically locked or unlocked by the first server in the embodiment of the present disclosure. In this way, the management efficiency of the first operator in managing the first device can be improved. On the other hand, since the first server is used to provide services for managing corresponding devices for at least two operators, at least two operators do not need to build dedicated servers for managing devices respectively, but can quickly manage the corresponding devices of the operators through the first server provided by a third party. Compared with the method in the related art in which the operator needs to spend more cost to manage the device, the first server provided by a third party can be used in the embodiment of the present disclosure to reduce the cost invested by the operator in the process of managing the device, for example, the cost of building and maintaining a dedicated server. In this way, the operator's management steps can be simplified and the operator's experience can be improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0102] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0103] Figure 1 It is a flowchart of a control method of a device according to an exemplary embodiment;
[0104] Figure 2 It is a flowchart of a control method of a device according to an exemplary embodiment;
[0105] Figure 3 It is a flowchart of a control method of a device according to an exemplary embodiment;
[0106] Figure 4 It is a flowchart of a control method of a device according to an exemplary embodiment;
[0107] Figure 5 It is a flowchart of a control method of a device according to an exemplary embodiment;
[0108] Figure 6 It is a flowchart of a control method of a device according to an exemplary embodiment;
[0109] Figure 7 It is a flowchart of a control method of a device according to an exemplary embodiment;
[0110] Figure 8 It is a flowchart of a control method of a device according to an exemplary embodiment;
[0111] Fig. 9 It is a flowchart of a control method of a device according to an exemplary embodiment;
[0112] Fig.10 It is a flowchart of a control method of a device according to an exemplary embodiment;
[0113] Fig.11 It is a flowchart of a control method of a device according to an exemplary embodiment;
[0114] Fig.12 It is a flowchart of a control method of a device according to an exemplary embodiment;
[0115] Fig.13 It is a flowchart of a control method of a device according to an exemplary embodiment;
[0116] Fig.14 It is a flowchart of a control method of a device according to an exemplary embodiment;
[0117] Fig.15 It is a flowchart of a control method of a device according to an exemplary embodiment;
[0118] Fig.16 It is a flowchart of a control method of a device according to an exemplary embodiment;
[0119] Fig.17 It is a flowchart of a control method of a device according to an exemplary embodiment;
[0120] Fig.18 It is a flowchart of a control method of a device according to an exemplary embodiment;
[0121] Fig.19 It is a flowchart of a control method of a device according to an exemplary embodiment;
[0122] Fig. 20 It is a flowchart of a control method of a device according to an exemplary embodiment;
[0123] Fig.21It is a flowchart of a control method of a device according to an exemplary embodiment;
[0124] Fig. 22 It is a flowchart of a control method of a device according to an exemplary embodiment;
[0125] Fig.23 It is a flowchart of a control method of a device according to an exemplary embodiment;
[0126] Fig.24 It is a flowchart of a control method of a device according to an exemplary embodiment;
[0127] Fig.25 It is a flowchart of a control method of a device according to an exemplary embodiment;
[0128] Fig.26 It is a flowchart of a control method of a device according to an exemplary embodiment;
[0129] Fig. 27 It is a flowchart of a control method of a device according to an exemplary embodiment;
[0130] Fig.28 It is a flowchart of a control method of a device according to an exemplary embodiment;
[0131] Fig.29 It is a flowchart of a control method of a device according to an exemplary embodiment;
[0132] Fig.30 It is a flowchart of a control method of a device according to an exemplary embodiment;
[0133] Fig.31 It is a flowchart of a control method of a device according to an exemplary embodiment;
[0134] Fig.32 is a schematic structural diagram of a control device of a device according to an exemplary embodiment;
[0135] Fig.33 is a schematic structural diagram of a control device of a device according to an exemplary embodiment;
[0136] Fig.34 is a schematic structural diagram of a control device of a device according to an exemplary embodiment;
[0137] Fig.35 is a schematic structural diagram of a control device of a device according to an exemplary embodiment;
[0138] Fig.36 The figure is a schematic diagram showing the structure of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION
[0139] In order to make the purpose, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings. The described embodiments should not be regarded as limiting the present invention. All other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present invention.
[0140] In the following description, reference is made to “some embodiments”, which describe a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.
[0141] In the following description, the terms "first / second / third" involved are merely used to distinguish similar objects and do not represent a specific ordering of the objects. It is understandable that "first / second / third" can be interchanged with a specific order or sequence where permitted, so that the embodiments of the invention described herein can be implemented in an order other than that illustrated or described herein.
[0142] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which the present invention belongs. The terms used herein are only for the purpose of describing the embodiments of the present invention and are not intended to limit the present invention.
[0143] like Figure 1 As shown, an embodiment of the present disclosure provides a method for controlling a device, the method being applied to a first server, the first server being used to provide services for managing corresponding devices for at least two operators, the method further comprising:
[0144] Step S0011, obtaining first information corresponding to a first device; wherein the first information indicates whether a user has a first permission to use the first device; the first device is a device corresponding to a first operator; the first operator is one of the at least two operators;
[0145] Step S0012: Send second information to the first device based on the first information and the first policy; wherein the first policy is at least used to adjust the operating state of the first device; and the second information instructs the first device to switch between a locked state and an unlocked state.
[0146] In one embodiment, based on the first information and the first policy, sending the second information to the first device includes: in response to the first information indicating that the user does not have the first permission, sending the second information to the first device; the second information instructs the first device to switch to a locked state. Alternatively, in response to the first information indicating that the user has the first permission, sending the second information to the first device; the second information instructs the first device to switch to an unlocked state.
[0147] In one embodiment, the first permission may include permission to use a first function provided by the first device. The locked state may be a state in which the first function of the first device is locked. The unlocked state may be a state in which the first function of the first device is unlocked. At this point, it is understood that in the locked state, the user cannot use the permission of the first function of the first device. In the unlocked state, the user can use the first function of the first device. The first function may include but is not limited to at least one of a call function, a networking function, a photo taking function, a video recording function, and a sound recording function.
[0148] In one embodiment, the first device may provide the first function through a predetermined application installed on the first device. The first permission may include permission to use the application on the first device. The locked state may be a state in which the predetermined application of the first device is locked, and in the locked state, the user cannot use the application of the first device. The unlocked state may be a state in which the application of the first device is not locked, and in the unlocked state, the user can use the application of the first device.
[0149] In one embodiment, the first server may be a service platform for managing devices. The first server may be used to manage device information and / or operating status of the device.
[0150] In one embodiment, each module in the first server can be as follows Figure 2 and Figure 3 As shown, the first server includes at least one of the following: a first module for front-end display (such as Figure 2 and Figure 3 The portal website portal module shown in FIG. 1 ), a second module for providing an interface (such as Figure 2 The application programming interface (API, Application ProgrammingInterface) module shown in FIG), a third module for managing account permissions (such as Figure 2 and Figure 3 A module for rights management as shown in FIG. 1 ), a third module for managing device information (such as Figure 2 and Figure 3 The device management module shown in FIG. 1 ), a fourth module for managing policies (such as Figure 2 The policy management module shown in FIG. 1 ), a fifth module for linking the fourth server (such as Figure 2 and Figure 3 The zero-touch api / lib module shown in FIG. 1 ), the sixth module for managing data (such as Figure 2 and Figure 3 The database module) and the seventh module for transmitting messages (such as Figure 2 and Figure 3 Here, the fourth server can be used to provide a zero-touch registration service.
[0151] In one embodiment, Figure 3 As shown, the portal module in the first server is used to provide a user with a visual web interaction interface, and the first server also includes at least one of the following: an eighth module (such as Figure 3 The reset API module shown in FIG. 1 is used to provide the operator with access device lock control (DLC, Device LockControl) through the API, and the style adopts the representational state transfer (REST, Representational State Transfer) style; the ninth module is used to extract user account information and authenticate valid access accounts (such as Figure 3 The tenth module is used to record all operation records in the locking process (such as Figure 3 module for the logs shown).
[0152] In one embodiment, the device information may include at least one of the following: a device name, a device identifier, a key corresponding to the device, a token corresponding to the device, and a registration time of the first device in the first server. The operation of managing the device information of the device may include at least one of the following: an add operation for adding device information; a modify operation for modifying device information; a delete operation for deleting device information; and a query operation for querying device information. In one embodiment, the operating state of the device may include a locked state and an unlocked state.
[0153] In one embodiment, managing the operating state of the device may refer to triggering the device to switch between a locked state and an unlocked state.
[0154] In one embodiment, the running state of the device further includes a released state, in which the device is not managed by the first server. Managing the running state of the device may also refer to triggering the device to switch to the released state.
[0155] In one embodiment, the device corresponding to the operator may refer to the device sold by the operator. The device sold by the operator may be the device sold by the operator through full payment, or the device sold by the operator may be the device sold by installment payment. The first server is used to provide services for managing corresponding devices for at least two operators, which may refer to the first server being used to manage devices sold by at least two operators. In one embodiment, the first server is used to provide services for managing corresponding devices for at least two operators, which may refer to the first server being used to provide a portal to at least two operators, thereby realizing the management of registration, deregistration, payment reminder, locking, unlocking and release of devices sold by at least two operators.
[0156] In one embodiment, an operator may refer to a supplier for providing network services or an enterprise for selling communication equipment.
[0157] In one embodiment, obtaining the first information corresponding to the first device may be obtaining the first information corresponding to the first device from a third server operated by the first operator. Alternatively, obtaining the first information corresponding to the first device may be obtaining the first information from the first server after the first information is pre-set in the first server.
[0158] In one embodiment, the first information corresponding to the first device may be acquired based on a predetermined period; or, the first information corresponding to the first device may be acquired in real time.
[0159] In one embodiment, the first information indicates a payment result of the user paying the first operator a fee to be paid for purchasing the first device, and the payment result is used to determine whether the user has the first authority.
[0160] In one embodiment, in response to the payment result indicating that the user has not paid the outstanding fee for purchasing the first device, it is determined that the user does not have the first authority. Alternatively, in response to the payment result indicating that the user has paid the outstanding fee for purchasing the first device, it is determined that the user has the first authority.
[0161] In one embodiment, the first time for acquiring the first information may be determined based on a payment deadline. The payment deadline may refer to a deadline agreed upon by the first operator and the user for paying the fee. And / or, the second time for sending the second information may be determined based on the payment deadline. The first time may be the same as the second time, or the first time may be different from the second time. The second time may be after the first time.
[0162] In one embodiment, based on the payment deadline, a first time for acquiring the first information is determined. At the first time, first information corresponding to the first device is acquired; wherein the first information indicates a payment result of a user paying a fee to be paid to a first operator for purchasing the first device; the first operator is one of the at least two operators. Based on the payment deadline, a second time for sending the second information is determined. At the second time, based on the first information and a first policy, the second information is sent to the first device; wherein the first policy is at least used to adjust the operating state of the first device; the second information indicates that the first device switches between a locked state and an unlocked state; the locked state is a state in which the first device is locked; and the unlocked state is a state in which the first device is unlocked. The first time and the second time may both be the same as the date to which the payment deadline belongs. Alternatively, the first time may be the same as the payment deadline, and the second time may be within a predetermined time after the payment deadline. Alternatively, the first time and the second time may both be within a predetermined time after the payment deadline.
[0163] In one embodiment, the payment result may include at least one of the following: the result of whether the user pays the fee to be paid, the amount paid by the user, and the payment time. The amount paid by the user can be used to indicate whether the user has paid all the fees to be paid. It should be noted that the fees to be paid may be fees corresponding to the payment period. For example, the first device is a device sold by installment payment, and the user and the first operator agree to pay the first fee in the first payment period, the second fee in the second payment period, and the third fee in the third payment period. At this time, in the first payment period, the fee to be paid is only the first fee; in the second payment period, the fee to be paid is the second fee; in the third payment period, the fee to be paid is the third fee. Alternatively, in the first payment period, the fee to be paid is the first fee; in the second payment period, the fee to be paid may include the first fee and the second fee; in the third payment period, the fee to be paid may include the first fee, the second fee, and the third fee.
[0164] In one embodiment, the payment result may be used to indicate whether the user has paid all outstanding fees according to the agreed payment period.
[0165] In one embodiment, the first strategy may be determined according to the payment result. The first strategy includes at least a sub-strategy for locking the first device and a sub-strategy for unlocking the first device. It is understandable that unlocking the first device here may refer to triggering the first device to switch to an unlocked state.
[0166] In one embodiment, the first policy includes a first number of sub-policies. Determining the first policy according to the payment result may refer to determining a target sub-policy from the first number of sub-policies according to the payment result. Based on the target sub-policy, second information is sent to the first device, wherein the target sub-policy is at least used to adjust the operating state of the first device; the second information indicates that the first device switches between a locked state and an unlocked state; the locked state is a state in which the first device is locked; and the unlocked state is a state in which the first device is not locked.
[0167] In one embodiment, in response to the payment result indicating that the user has not paid all the fees to be paid on time, the target sub-policy is determined to be a sub-policy for locking the first device, and based on the sub-policy for locking the first device, the second information is sent to the first device. Alternatively, in response to the payment result indicating that the user has paid all the fees to be paid on time, the target sub-policy is determined to be a sub-policy for unlocking the first device; based on the sub-policy for unlocking the first device, the second information is sent to the first device.
[0168] In one embodiment, in the locked state, only preset applications are allowed to run in the first device. The preset applications may at least include an application for the user to pay the fees to be paid.
[0169] In one embodiment, the preset application may include at least one of the following: an application for the user to pay fees to be paid, an application for emergency calls, and an application for setting a networking status.
[0170] In an embodiment of the present disclosure, an embodiment of the present disclosure provides a device control method, the method is applied to a first server, the first server is used to provide services for managing corresponding devices for at least two operators, the method further includes: obtaining first information corresponding to the first device; wherein the first information indicates whether the user has a first permission to use the first device; the first device is a device corresponding to the first operator; the first operator is one of the at least two operators; based on the first information and the first policy, sending second information to the first device; wherein the first policy is at least used to adjust the operating state of the first device; the second information indicates that the first device switches between a locked state and an unlocked state; the locked state is a state in which the first device is locked; the unlocked state is a state in which the first device is not locked. Here, on the one hand, since the first server can send the second information to the first device based on the first information and the first policy for the first device corresponding to the first operator, the first information indicates whether the user has a first permission to use the first device; the first device is a device corresponding to the first operator, and the second information indicates that the first device switches between a locked state and an unlocked state, therefore, the first server can be used to automatically perform the sending of the second information to indicate that the first device switches to a locked state or an unlocked state. At this time, there is no need for the first operator to manually lock or unlock the first device. Compared to the method in the related art where operators cannot efficiently manage devices, the embodiment of the present disclosure can automatically lock or unlock the first device through the first server, thereby improving the management efficiency of the first operator in managing the first device. On the other hand, since the first server is used to provide services for managing corresponding devices for at least two operators, at least two operators do not need to build a dedicated server for managing devices, but can quickly manage the corresponding devices of the operators through the first server provided by a third party. Compared to the method in the related art where operators need to spend more costs to manage devices, the embodiment of the present disclosure can reduce the costs invested by operators in the process of managing devices, such as the cost of building and maintaining dedicated servers, through the first server provided by a third party. In this way, the management steps of operators can be simplified and the operator's experience can be improved.
[0171] In one embodiment, the second information includes one of the following:
[0172] first indication information, used to instruct the first device to switch to the locked state;
[0173] The second indication information is used to instruct the first device to switch to the unlocked state.
[0174] In one embodiment, the first indication information may be used to instruct the first device to switch from an unlocked state to a locked state; or, the first indication information may be used to instruct the first device to switch from a locked state to a locked state.
[0175] In one embodiment, the second indication information may be used to instruct the first device to switch from an unlocked state to an unlocked state; or, the second indication information may also be used to instruct the first device to switch from an unlocked state to an unlocked state.
[0176] Here, different second information can be sent to flexibly instruct the first device to switch between the unlocked state and the locked state. For example, the first indication information can be sent to instruct the first device to switch to the locked state; or the second indication information can be sent to instruct the first device to switch to the unlocked state.
[0177] In one embodiment, Figure 4 As shown, the sending second information to the first device based on the first information and the first strategy includes:
[0178] Step S0041: In response to the payment result being that the user has not paid the fees to be paid, based on the first policy, sending the first indication information to the first device; or, in response to the payment result being that the user has paid the fees to be paid, based on the first policy, sending the second indication information to the first device.
[0179] In one embodiment, first information corresponding to a first device is obtained; wherein the first information indicates a payment result of a user paying a first operator for a fee to be paid for purchasing the first device; the first operator is one of the at least two operators; in response to the payment result being a result that the user has not paid the fee to be paid, based on a first strategy, first indication information is sent to the first device; the first indication information is used to instruct the first device to switch to a locked state; the locked state is a state in which the first device is locked.
[0180] Here, in response to the payment result being the result that the user has not paid the fee to be paid, based on the first strategy, the first indication information is sent to the first device; the first indication information is used to instruct the first device to switch to a locked state; the locked state is a state in which the first device is locked, so if the user has not paid the fee to be paid, the first device can be locked in time. At this time, the user's experience of using the first device is poor, so the user can be prompted to pay the fee to be paid in time to unlock the first device, reduce the situation where the user does not pay the fee to be paid, and reduce the situation where the interests of the first operator are damaged.
[0181] In one embodiment, first information corresponding to a first device is obtained; wherein the first information indicates a payment result of a user paying a first operator for a fee to be paid for purchasing the first device; the first operator is one of the at least two operators; in response to the payment result being a result of the user paying the fee to be paid, based on a first strategy, second indication information is sent to the first device; the second indication information is used to instruct the first device to switch to an unlocked state; the unlocked state is a state in which the first device is not locked.
[0182] Here, since the payment result is the result that the user has paid the fee to be paid, based on the first strategy, a second indication information is sent to the first device; the second indication information is used to instruct the first device to switch to an unlocked state; the unlocked state is a state in which the first device is not locked. Therefore, after the user has paid the fee to be paid, the first device can be unlocked in time, thereby improving the user experience.
[0183] In one embodiment, the first server may send the first indication information (such as Figure 5 As shown). The fifth server may be an FCM server. The first server may send the first indication information to the first device through the fifth server by using the device identifier of the first device and the bound FCM token. The FCM token bound to the first server may be a token agreed to be used by the first server and the first device.
[0184] In one embodiment, the first server may send the second indication information (such as Figure 6 As shown). The fifth server may be an FCM server. The first server may send the second indication information to the first device through the fifth server by using the device identifier of the first device and the bound FCM token. The FCM token bound to the first server may be a token agreed to be used by the first server and the first device.
[0185] In one embodiment, the second information can be understood as the first policy. The first server can send the first policy to the first device through the fifth server, and the first device switches between the locked state and the unlocked state by activating the first policy.
[0186] In one embodiment, the first strategy includes at least one of the following:
[0187] The first sub-strategy is a strategy for locking the first device according to a first payment result; the first payment result is a result that the user fails to pay all the fees to be paid on time;
[0188] The second sub-strategy is a strategy for locking the first device according to a second payment result; the second payment result is a result that the user fails to pay part of the to-be-paid fee on time;
[0189] The third sub-strategy is a strategy for unlocking the first device according to a third payment result; the third payment result is a result that the user pays the fee to be paid.
[0190] Here, since the first policy includes sub-policies adapted to different payment results, in the process of sending the second information based on the first policy, it is possible to flexibly adapt to different payment results and use the second information to lock or unlock the first device. In this way, the richness of the policy can be increased, and the flexibility of using the policy to lock or unlock the first device can be enhanced.
[0191] In one embodiment, the policy for locking the first device may include: a policy for instantly locking the first device and / or a policy for delaying locking the first device.
[0192] In one embodiment, the first sub-policy may be a policy for instantly locking the first device according to the first payment result; the second sub-policy may be a policy for delaying locking the first device according to the second payment result. In one embodiment, the policy for delaying locking the first device is used to indicate that the second information is sent to the first device at a predetermined time after the payment deadline based on the re-acquired first information and the re-determined first policy.
[0193] In one embodiment, in response to the payment result being the first payment result, the target sub-strategy is determined to be the first sub-strategy; or, in response to the payment result being the second payment result, the target sub-strategy is determined to be the second sub-strategy. It should be noted that the target sub-strategy here can be any target sub-strategy described in the embodiments of the present disclosure.
[0194] In one embodiment, in response to the payment result being the third payment result, the target sub-strategy is determined to be the third sub-strategy.
[0195] In one embodiment, the first strategy is a preset strategy and / or a strategy updated from the preset strategy.
[0196] In one embodiment, first information corresponding to a first device is obtained; wherein the first information indicates a payment result of a user paying a first operator for a fee to be paid for purchasing the first device; the first operator is one of the at least two operators; based on a preset strategy, second information is sent to the first device; wherein the preset strategy is at least used to adjust the operating state of the first device; the second information indicates that the first device switches between a locked state and an unlocked state; the locked state is a state in which the first device is locked; and the unlocked state is a state in which the first device is not locked.
[0197] Here, since a policy for adjusting the operating state of the first device is preset, after obtaining the first information, the second information can be quickly sent to the first device according to the preset policy in a timely manner to adjust the operating state of the first device. At this time, there is no need to temporarily generate a policy for adjusting the operating state of the first device, and the operating state of the first device can be quickly adjusted directly based on the preset policy. In this way, the efficiency of sending the second information to the first device to adjust the operating state of the first device can be improved.
[0198] In one embodiment, the preset strategy can be updated based on the detected second input operation to obtain an updated strategy; based on the updated strategy, a second information is sent to the first device; wherein the updated strategy is at least used to adjust the operating state of the first device; the second information indicates that the first device switches between a locked state and an unlocked state; the locked state is a state in which the first device is locked; and the unlocked state is a state in which the first device is not locked.
[0199] Here, since the preset policy can be updated based on the detected second input operation, in the process of sending the second information to the first device using the updated policy, the process of sending the second information can be adapted to the detected second input operation. At this time, the preset policy can be flexibly updated and the second information can be flexibly sent based on the updated policy, thereby improving the flexibility of the first server in managing the first device and improving the user experience of performing the second input operation.
[0200] In one embodiment, the second input operation may be an operation for inputting an updated policy, and / or the second input operation may be an operation for inputting update information for the preset policy, where the update information is used to adjust part of the content of the preset policy.
[0201] In one embodiment, Figure 7 As shown, before sending the second information to the first device based on the first information and the first policy, the method further includes:
[0202] Step S0071, registering device information of the first device in the first server;
[0203] Step S0072, in response to successful registration, sending a first request message to a second server; wherein the second server is used to update the program package of the first device; and the first request message is used to request the second server to prohibit updating the program package of the first device.
[0204] In one embodiment, the device information of the first device is registered in the first server. In response to successful registration, a first request message is sent to the second server (exemplarily, Figure 8 Step a3 shown); wherein the second server is used to update the program package of the first device; the first request information is used to request the second server to prohibit updating the program package of the first device. Acquire first information corresponding to the first device; wherein the first information indicates the payment result of the user paying the first operator for the fee to be paid for purchasing the first device; the first operator is one of the at least two operators; based on the first information and the first policy, send second information to the first device; wherein the first policy is at least used to adjust the operating state of the first device; the second information indicates that the first device switches between a locked state and an unlocked state; the locked state is a state in which the first device is locked; the unlocked state is a state in which the first device is not locked.
[0205] Here, in response to a successful registration, a first request message will be sent to the second server, the second server is used to update the program package of the first device, and the first request message is used to request the second server to prohibit updating the program package of the first device. Therefore, for the first device that has successfully registered, the second server cannot be used to update the program package on the first device at will, and the association between the first device and the first server will not be tampered with by changing the program package. In this way, it can be ensured that the program package on the first device is not tampered with, the security of the first device is improved, and the operator can use the first server as usual to manage the first device registered on the first server (for example, the first device can be locked), ensuring the interests of the operator.
[0206] In one embodiment, the device information of the first device may be registered in the first server based on the device identification of the first device.
[0207] In one embodiment, registering the device information of the first device in the first server based on the device identification of the first device includes: linking a fourth server based on the device identification of the first device and registering the device information of the first device using the fourth server (exemplarily, Figure 8Step a1) shown in the figure; wherein the fourth server is used to provide a registration service. The fourth server may be used to provide a zero-touch registration service.
[0208] In one embodiment, the program package may refer to a read-only memory (ROM) package of the first device.
[0209] In one embodiment, the first device may be a mobile phone, and the second server used to update the program package of the mobile phone may refer to the second server being used to perform a flashing operation on the first device.
[0210] In one embodiment, a first program is flashed into a program package of the first device, and the first program is used to limit the flashing operation performed on the first device. The first program can be used to limit the operation of obtaining the root permission of the first device.
[0211] In one embodiment, the second server may be a dedicated server for updating the program package of the first device. Here, it can also be understood that the program package of the first device can only be updated through the second service.
[0212] In one embodiment, the second information indicates that the first device switches between the locked state and the unlocked state through a functional module; wherein the functional module is at least used to lock the first device or unlock the first device.
[0213] In one embodiment, the functional module includes a first functional module and a second functional module (such as Figure 2 and Figure 8 The first functional module and the second functional module shown in the figure), the first functional module is used to send instructions to the second functional module according to the second information; the second functional module is used to lock the first device or unlock the first device according to the instructions sent by the first functional module.
[0214] In one embodiment, sending the second information to the first device may be sending the second information to the first functional module of the first device; the second information is used to trigger the first functional module to send an instruction to the second functional module and trigger the second functional module to lock the first device or unlock the first device according to the instruction.
[0215] In one embodiment, the first function module and the second function module may be published on a predetermined mall (such as Figure 2 The trusted application (TA, Trust Application) of the reservation mall shown.
[0216] In one embodiment, the environment in which the first server and the first device are located may be a Trusted Execution Environment (TEE).
[0217] In one embodiment, the first functional module may be a kiosk module published in a predetermined mall, and the second functional module may be a device lock control (DLC, Device Lock Control) module published in a predetermined mall.
[0218] In one embodiment, Figure 2 As shown, the first functional module at least includes: a first submodule, the first submodule is used to provide Google Mobile Service (GMS, Google Mobile Service) and zero-touch registration service (such as Figure 2 The second submodule is used to provide an entry for a super management user (such as Figure 2 The managed provisioning module); a third submodule is used to provide device policy management services (such as Figure 2 The device policy manager module shown in FIG. 1 ); and a fourth submodule for providing customized policies (such as Figure 2 custom module as shown).
[0219] In one embodiment, the locked state may be a state indicating that the first device is locked to the first functional module, and the first functional module may be used to provide a preset application. At this time, except for the preset application provided by the first functional module, other applications in the first device are not available.
[0220] In one embodiment, the first server has the authority to delete and / or modify the functional modules in the first device.
[0221] In one embodiment, the first server has the authority to delete and / or modify the first functional module in the first device. And / or, the first server has the authority to delete and / or modify the second functional module in the first device.
[0222] In one embodiment, the first device does not have permission to actively delete and / or modify the functional modules in the first device.
[0223] Here, since the first server has the authority to delete and / or modify the function modules in the first device, the first device does not have the authority to actively delete and / or modify the function modules in the first device. The function modules in the first device are at least used to lock or unlock the first device. Therefore, the function modules in the first device will not be deleted at will, and it can be ensured that the first server can be used to lock and / or unlock the first device during the process of the first server managing the first device. In this way, the reliability of the first operator managing the first device through the first server can be ensured, and the interests of the first operator can be ensured not to be damaged.
[0224] In one embodiment, Fig. 9 As shown, the method also includes:
[0225] Step S0091: in response to the user paying all the fees for purchasing the first device, sending third information to the first device; wherein the third information indicates uninstalling the functional module in the first device.
[0226] In one embodiment, first information corresponding to a first device is obtained; wherein the first information indicates a payment result of a user paying a first operator for a fee to be paid for purchasing the first device; the first operator is one of the at least two operators. Based on the first information and a first policy, second information is sent to the first device; wherein the first policy is at least used to adjust the operating state of the first device; the second information indicates that the first device switches between the locked state and the unlocked state through a functional module; the functional module is at least used to lock the first device or unlock the first device. The locked state is a state in which the first device is locked; the unlocked state is a state in which the first device is not locked. In response to the user paying all fees for purchasing the first device, third information is sent to the first device; wherein the third information indicates uninstalling the functional module in the first device.
[0227] Here, in response to the user paying all the fees for purchasing the first device, the third information is sent to the first device, and the third information indicates uninstalling the functional module in the first device. Therefore, after the user pays the fees for purchasing the first device, the first server can trigger the first device to uninstall the functional module through the third information, thereby releasing the first device so that the first device will no longer switch to a locked state. In this way, after ensuring that the operator has collected all the fees, the user's experience of using the first device can be improved.
[0228] In one embodiment, the first device may be a device sold by an operator through installment payment. Here, the user paying all fees for purchasing the first device may mean that the user has paid all outstanding fees corresponding to all payment terms.
[0229] In one embodiment, Fig.10 As shown, the first server may send the third information to the first device through the fifth server (exemplarily, as shown in Fig.10 The fifth server may be an FCM server. The first server may send the third information to the first device through the fifth server by using the device identifier of the first device and the bound FCM token. The FCM token bound to the first server may be a token agreed to be used by the first server and the first device.
[0230] In one embodiment, Fig.11 and Fig.12 As shown, the method also includes:
[0231] Step S1101: in response to receiving first confirmation information sent by the first device in response to the third information, deleting the device information in the first server.
[0232] and / or,
[0233] Step S1201: in response to receiving the first confirmation information sent by the first device in response to the third information, sending second request information to the second server, wherein the second request information is used to request the second server to allow updating of the program package of the first device.
[0234] In one embodiment, first information corresponding to a first device is obtained; wherein the first information indicates a payment result of a user paying a fee to be paid to a first operator for purchasing the first device; the first operator is one of the at least two operators. Based on the first information and a first policy, second information is sent to the first device; wherein the first policy is at least used to adjust the operating state of the first device; the second information indicates that the first device switches between the locked state and the unlocked state through a function module; the function module is at least used to lock the first device or unlock the first device. The locked state is a state in which the first device is locked; the unlocked state is a state in which the first device is not locked. In response to the user paying all the fees for purchasing the first device, third information is sent to the first device; wherein the third information indicates uninstalling the function module in the first device. In response to receiving a first confirmation message sent by the first device for the third information, the device information is deleted in the first server.
[0235] Here, in response to receiving the first confirmation information sent by the first device for the third information, the device information is deleted in the first server, and the third information is information indicating the uninstallation of the functional module in the first device, and the functional module is used to trigger the first device to switch between the locked state and the unlocked state. Therefore, after confirming that the functional module in the first device is uninstalled, that is, after confirming that the first device no longer needs to switch between the locked state and the unlocked state, the device information can be deleted in the first server, and the management of the first device by the first server is released. At this time, the control right of the first device is completely owned by the user who uses the first device, so that the user experience of the first device can be improved.
[0236] In one embodiment, deleting the device information in the first server may also be understood as canceling the registration of the first device in the first server.
[0237] In one embodiment, deleting the device information in the first server may refer to using the first server to link to a fourth server and canceling the registration of the first device through the fourth server (for example, Fig.10 The fourth server may be a server supporting zero-touch registration service.
[0238] In one embodiment, first information corresponding to a first device is obtained; wherein the first information indicates a payment result of a user paying a fee to be paid to a first operator for purchasing the first device; the first operator is one of the at least two operators. Based on the first information and a first policy, second information is sent to the first device; wherein the first policy is at least used to adjust the operating state of the first device; the second information indicates that the first device switches between the locked state and the unlocked state through a function module; the function module is at least used to lock the first device or unlock the first device. The locked state is a state in which the first device is locked; the unlocked state is a state in which the first device is not locked. In response to the user paying all the fees for purchasing the first device, third information is sent to the first device; wherein the third information indicates uninstalling the function module in the first device. In response to receiving the first confirmation information sent by the first device for the third information, second request information is sent to the second server, wherein the second request information is used to request the second server to allow the update of the program package of the first device.
[0239] Here, in response to receiving the first confirmation information sent by the first device for the third information, the second request information is sent to the second server, and the second request information is used to request the second server to allow the program package of the first device to be updated. Therefore, for the first device that does not need to switch between the locked state and the unlocked state, if the user has the need to update the program package, the second server can be used to update the program package in the first device. In this way, a good user experience can be ensured.
[0240] In one embodiment, Fig.13 As shown, the registering the device information of the first device in the first server includes:
[0241] Step S1301, based on the first file information, register the device information of the first device; wherein the first file information carries the device information; and / or, based on the detected first input operation, register the device information of the first device; wherein the first input operation is used to input the device information.
[0242] In one embodiment, at least two devices corresponding to the first operator may be registered in batches based on the first file information.
[0243] Here, since at least two devices corresponding to the first operator can be registered in batches through the first file information, when there are a large number of devices corresponding to the first operator, a large number of devices can be quickly registered in batches without inputting device information of each device one by one. In this way, the speed of registering devices can be improved.
[0244] In one embodiment, the first file information may be file information in a comma-separated values (CVS) format file.
[0245] In one embodiment, the first server may provide a CVS file template to the operator, and the first operator may fill the CVS file template with device information of the device corresponding to the first operator. In this case, the first file information may be information of the CVS file template filled with device information. In one embodiment, the information of the CVS file template filled with device information may be obtained through a drag operation or a click operation performed by the operator on the CVS file template.
[0246] In one embodiment, the first server may have at least one of a first preset module, a second preset module, a third preset module, a fourth preset module, a fifth preset module and a sixth preset module. Among them, the first preset module is used to implement the management of account registration and login. The second preset module is used to implement the registration of the device and the management of the default policy related to the registration. The third preset module is used to implement the search for device information and / or the management of the implemented policy. The policy includes the first policy, the second policy and the third policy described in any one of the embodiments of the present disclosure. The fourth preset module is used to implement the management of batch registered devices. The fifth preset module is used to query the status of the device and download the corresponding report. The sixth preset module is used to view existing policies and / or add new policies.
[0247] In one embodiment, the first server may provide the operator with a CVS file template and / or register the device information of the first device using the first file information through a fourth preset module.
[0248] In one embodiment, please refer to Table 1, which exemplarily describes the fourth preset module (such as Fig.14 The module name, function, priority, input, requirement description and output of the fourth preset module shown in FIG. 1 are described as follows:
[0249] Table 1
[0250]
[0251] In one embodiment, please refer to Table 2, which exemplarily describes the module name, function, priority, input, requirement description, and output of the first preset module:
[0252] Table 2
[0253]
[0254]
[0255] It should be noted that after the user clicks on the portal website provided by the first server, the first interface displayed is the user login interface, which corresponds to the first preset module. There are two types of accounts that can be logged in in the user login interface, the first is the administrator account, and the second is the operator account. The administrator account and the operator account have different permissions. Specifically, the administrator account (such as Fig.14 The operator account has partial permissions, such as the permission to implement all business functions, the permission to manage operator accounts (such as auditing operator accounts). The operator account has partial permissions, such as the permission to implement all business functions, but the operator account does not have the permission to manage other operator accounts.
[0256] In one embodiment, a carrier account can be registered through the backend, and the carrier needs to provide a mailing list, carrier information, and permission level for opening an account. An carrier can only have one super administrator.
[0257] In one embodiment, please refer to Table 3, which exemplarily describes the module name, function, priority, input, requirement description and output of the second preset module:
[0258] Table 3
[0259]
[0260] In one embodiment, the predetermined display interface may display device information, device identification, and an optional default policy, where the default policy is the preferred policy during device activation.
[0261] In one embodiment, the activation method may include a first activation method and / or a second activation method. The first activation method may be a quick response (QR, Quick Response) activation method. The second activation method may be an activation method for activating a device by linking a zero-touch method.
[0262] In one embodiment, please refer to Table 4, which exemplarily describes the module name, function, priority, input, requirement description and output of the third preset module:
[0263] Table 4
[0264]
[0265] In one embodiment, please refer to Table 5, which exemplarily describes the module name, function, priority, input, requirement description and output of the fifth preset module:
[0266] Table 5
[0267]
[0268] In one embodiment, please refer to Table 6, which exemplarily describes the sixth preset module (such as Fig.14 The module name, function, priority, input, requirement description and output of the sixth preset module shown in FIG. 1 are described as follows:
[0269] Table 6
[0270]
[0271]
[0272] In one embodiment, Fig.15 As shown, the method also includes:
[0273] Step S1501: receiving fourth information sent by the first device; wherein the fourth information indicates information of a key and / or a token used for communication between the first device and the first server;
[0274] The sending the second information to the first device includes:
[0275] Step S1502: Use the key and / or token to send the second information to the first device.
[0276] In one embodiment, fourth information sent by the first device is received; wherein the fourth information indicates information of a key and / or token used for communication between the first device and the first server. First information corresponding to the first device is obtained; wherein the first information indicates a payment result of a user paying a first operator a fee to be paid for purchasing the first device; the first operator is one of the at least two operators. Based on the first information and the first policy, and using the key and / or token, the second information is sent to the first device. The second information is sent to the first device; wherein the first policy is at least used to adjust the operating state of the first device; the second information indicates that the first device switches between a locked state and an unlocked state; the locked state is a state in which the first device is locked; and the unlocked state is a state in which the first device is not locked.
[0277] Here, since the second information can be sent to the first device using a key and / or a token, the second information can be encrypted using the key and / or the token. In this way, the leakage and tampering of the second information can be reduced, the security of transmitting the second information can be improved, and the reliability of using the second information to trigger the first device to switch between the locked state and the unlocked state can be ensured.
[0278] In one embodiment, all information sent by the first server to the first device may be pre-processed by a key and / or a token, thereby improving the security of the information sent by the first server to the first device.
[0279] In one embodiment, Figure 3 As shown, the communication between the first server and the first device may also be performed via Hypertext Transfer Protocol Secure (HTTPS).
[0280] In one embodiment, the first server may send pre-processed information to the first device through a fifth server, wherein the information includes the second information. The fifth server may be a server for FCM. The fifth server may be used for token authentication.
[0281] In one embodiment, Fig.16 and Fig.17 As shown, the method also includes:
[0282] Step S1601, obtaining a payment deadline, wherein the payment deadline is a deadline for paying the fee agreed upon by the first operator and the user;
[0283] Step S1602: before the payment deadline, based on a second policy, sending a prompt message to the first device; wherein the second policy is a policy for prompting the user to pay the fee, and the prompt message is used to prompt the user to pay the fee according to the payment deadline.
[0284] Here, because a prompt message is sent to the first device based on the second policy before the payment deadline, the prompt message is used to remind the user to pay the fee according to the payment deadline, so the user can be reminded to pay on time in a timely manner. At this time, the user does not need to pay attention to the payment deadline all the time, and can learn the payment deadline through the prompt message sent by the first server to the first device, so as to pay on time. In this way, the user experience can be ensured to be good.
[0285] In one embodiment, the time for sending the reminder information to the first device may be determined based on the payment deadline and the second policy.
[0286] In one embodiment, the second strategy may be used to indicate the interval time to the payment deadline. For example, the interval time may include 1 day, 3 days, and 7 days. In this case, a reminder message may be sent to the first device 7 days, 3 days, and 1 day before the payment deadline, respectively.
[0287] In one embodiment, the second policy may be a preset policy or a policy updated from the preset policy.
[0288] In one embodiment, the payment deadline may be sent to the first device, and the payment deadline is used to trigger the first device to switch between the locked state and the unlocked state when the first device is off-network.
[0289] In one embodiment, the first server sending the prompt information to the first device may be a strategy in the second strategy.
[0290] In one embodiment, the first device may activate the second policy, and activating the second policy may refer to displaying the prompt information (such as Fig.17 shown).
[0291] In one embodiment, Fig.18 As shown, the obtaining of first information corresponding to the first device includes:
[0292] Step S1801: receiving first information sent by a third server; wherein the third server is used to manage first information of a device corresponding to the first operator.
[0293] In one embodiment, first information sent by a third server is received; wherein the third server is used to manage first information of a device corresponding to the first operator. The first information indicates a payment result of a user paying a fee to be paid to the first operator for purchasing the first device. Based on the first information and a first policy, second information is sent to the first device; wherein the first policy is at least used to adjust the operating state of the first device; the second information indicates that the first device switches between a locked state and an unlocked state; the locked state is a state in which the first device is locked; and the unlocked state is a state in which the first device is not locked.
[0294] Here, since the first information can be obtained by the third server, and the third server is used to manage the first information of the device corresponding to the first operator, it is not necessary to pre-store the first information in the first server, but the first information of the first device can be obtained in a timely manner through the third server. In this way, the timeliness of obtaining the first information can be ensured, and the corresponding second information can be sent to the user in a timely manner according to the payment result of the user indicated by the first information.
[0295] like Fig.19 As shown, an embodiment of the present disclosure provides a method for controlling a device, the method is applied to a first device, the first device is a device corresponding to a first operator, and the method further includes:
[0296] Step S1901, receiving second information sent by a first server based on a first policy and first information; wherein, the first server is used to provide services for managing corresponding devices for at least two operators, and the first information indicates whether the user has a first authority to use the first device; the first device is a device corresponding to the first operator; the first operator is one of the at least two operators; the first policy is used to adjust the operating state of the first device; the second information indicates that the first device switches between a locked state and an unlocked state.
[0297] In one embodiment, receiving the second information sent by the first server based on the first policy and the first information includes: in response to the first information indicating that the user does not have the first permission, receiving the second information sent by the first server; the second information instructs the first device to switch to a locked state. Alternatively, in response to the first information indicating that the user has the first permission, receiving the second information sent by the first server; the second information instructs the first device to switch to an unlocked state.
[0298] In one embodiment, the first permission may include permission to use a first function provided by the first device. The locked state may be a state in which the first function of the first device is locked. The unlocked state may be a state in which the first function of the first device is unlocked. At this point, it is understood that in the locked state, the user cannot use the permission of the first function of the first device. In the unlocked state, the user can use the first function of the first device. The first function may include but is not limited to at least one of a call function, a networking function, a photo taking function, a video recording function, and a sound recording function.
[0299] In one embodiment, the first device may provide the first function through a predetermined application installed on the first device. The first permission may include permission to use the application on the first device. The locked state may be a state in which the predetermined application of the first device is locked, and in the locked state, the user cannot use the application of the first device. The unlocked state may be a state in which the application of the first device is not locked, and in the unlocked state, the user can use the application of the first device.
[0300] In one embodiment, the first server may be a service platform for managing devices. The first server may be used to manage device information and / or operating status of the device.
[0301] In one embodiment, the device information may include at least one of the following: a device name, a device identifier, a key corresponding to the device, a token corresponding to the device, and a registration time of the first device registered in the first server. The operation of managing the device information of the device may include at least one of the following: an add operation for adding device information; a modify operation for modifying device information; a delete operation for deleting device information; and a query operation for querying device information.
[0302] In one embodiment, the operating state of the device may include a locked state and an unlocked state.
[0303] In one embodiment, managing the operating state of the device may refer to triggering the device to switch between a locked state and an unlocked state.
[0304] In one embodiment, the running state of the device further includes a released state, in which the device is not managed by the first server. Managing the running state of the device may also refer to triggering the device to switch to the released state.
[0305] In one embodiment, the first device is a device corresponding to the first operator, which may mean that the first device is a device sold by the first operator. The device sold by the first operator may be a device sold by the first operator by full payment, or the device sold by the first operator may be a device sold by installment payment. The first server is used to provide services for managing corresponding devices for at least two operators, which may mean that the first server is used to manage devices sold by at least two operators.
[0306] In one embodiment, the first operator may refer to a supplier for providing network services or an enterprise for selling communication equipment.
[0307] In one embodiment, the first information acquired by the first server may be information acquired based on a predetermined period; or, the first information acquired by the first server may be information acquired in real time.
[0308] In one embodiment, the first information indicates a payment result of the user paying the first operator a fee to be paid for purchasing the first device, and the payment result is used to determine whether the user has the first authority.
[0309] In one embodiment, in response to a payment result indicating that the user has not paid the outstanding fee for purchasing the first device, the first information indicates that the user does not have the first authority, or, in response to a payment result indicating that the user has paid the outstanding fee for purchasing the first device, the first information indicates that the user has the first authority.
[0310] In one embodiment, the first time when the first server obtains the first information may be determined based on a payment deadline. The payment deadline may refer to a deadline agreed upon by the first operator and the user to pay the fee. And / or, the second time when the first server sends the second information may be determined based on the payment deadline. The first time may be the same as the second time, or the first time may be different from the second time. The second time may be after the first time.
[0311] In one embodiment, second information sent by the first server based on the first strategy and the first information is received at a third time; wherein the third time is determined according to the air transmission time corresponding to the second time and the second information described in any one of the embodiments of the present disclosure.
[0312] In one embodiment, the payment result may include at least one of the following: the result of whether the user pays the fee to be paid, the amount paid by the user, and the payment time. The amount paid by the user can be used to indicate whether the user has paid all the fees to be paid. It should be noted that the fees to be paid may be fees corresponding to the payment period. For example, the first device is a device sold by installment payment, and the user and the first operator agree to pay the first fee in the first payment period, the second fee in the second payment period, and the third fee in the third payment period. At this time, the fee to be paid in the first payment period is only the first fee, the fee to be paid in the second payment period is the second fee, and the fee not paid in the third payment period is the third fee. Alternatively, the fee to be paid in the first payment period is the first fee, the fee to be paid in the second payment period may include the first fee and the second fee, and the fee to be paid in the third payment period may include the first fee, the second fee, and the third fee.
[0313] In one embodiment, the payment result may be used to indicate whether the user has paid all outstanding fees according to the agreed payment period.
[0314] In one embodiment, the first policy may be determined according to the payment result. The first policy includes at least a sub-policy for locking the first device and a sub-policy for unlocking the first device. It is understandable that unlocking the first device here may refer to triggering the first device to switch to an unlocked state.
[0315] In one embodiment, the first policy includes a first number of sub-policies. The first policy may be a target sub-policy determined from the first number of sub-policies according to the payment result. Second information sent by the first server based on the target sub-policy and the first information is received; wherein the target sub-policy is at least used to adjust the operating state of the first device; the second information indicates that the first device switches between a locked state and an unlocked state; the locked state is a state in which the first device is locked; and the unlocked state is a state in which the first device is not locked.
[0316] In one embodiment, the locked state may refer to a state in which an application of the first device is locked. The unlocked state may refer to a state in which an application of the first device is unlocked. In one embodiment, in the locked state, only preset applications are allowed to run in the first device. The preset applications may include at least an application for the user to pay the fees to be paid.
[0317] In one embodiment, the preset application may include at least one of the following: an application for the user to pay fees to be paid, an application for emergency calls, and an application for setting a networking status.
[0318] In an embodiment of the present disclosure, a device control method is provided, the method is applied to a first device, the method includes: receiving second information sent by a first server based on a first policy and first information; wherein the first server is used to provide services for managing corresponding devices for at least two operators, the first information indicates the payment result of the user paying the first operator for the fee to be paid for purchasing the first device; the first operator is one of the at least two operators; the first policy is used to adjust the operating state of the first device; the second information indicates that the first device switches between a locked state and an unlocked state; the locked state is a state in which the first device is locked; the unlocked state is a state in which the first device is not locked. Here, on the one hand, for the first device corresponding to the first operator, the first server can send the second information to the first device based on the first information and the first policy, the first information indicates the payment result of the user paying the first operator for the fee to be paid for purchasing the first device, and the second information indicates that the first device switches between a locked state and an unlocked state, so the first server can be used to automatically send the second information to indicate that the first device switches to a locked state or an unlocked state. At this time, there is no need for the first operator to manually lock or unlock the first device. Compared to the method in the related art where operators cannot efficiently manage devices, the embodiment of the present disclosure can automatically lock or unlock the first device through the first server, thereby improving the management efficiency of the first operator in managing the first device. On the other hand, since the first server is used to provide services for managing corresponding devices for at least two operators, at least two operators do not need to build a dedicated server for managing devices, but can quickly manage the corresponding devices of the operators through the first server provided by a third party. Compared to the method in the related art where operators need to spend more costs to manage devices, the embodiment of the present disclosure can reduce the costs invested by operators in the process of managing devices, such as the cost of building and maintaining dedicated servers, through the first server provided by a third party. In this way, the management steps of operators can be simplified and the operator's experience can be improved.
[0319] In one embodiment, the second information includes at least one of the following:
[0320] first indication information, used to instruct the first device to switch to the locked state;
[0321] The second indication information is used to instruct the first device to switch to the unlocked state.
[0322] In one embodiment, the first indication information may be used to instruct the first device to switch from an unlocked state to a locked state; or, the first indication information may be used to instruct the first device to switch from a locked state to a locked state.
[0323] In one embodiment, the second indication information may be used to instruct the first device to switch from an unlocked state to an unlocked state; or, the second indication information may also be used to instruct the first device to switch from an unlocked state to an unlocked state.
[0324] Here, the first device can flexibly switch between the unlocked state and the locked state according to the indication of the second information by receiving different second information. For example, it can switch to the locked state by receiving the first indication information; or it can switch to the unlocked state by receiving the second indication information.
[0325] In one embodiment, Fig. 20 As shown, the sending second information to the first device based on the first information and the first strategy includes:
[0326] Step S2001, in response to the user not paying the fees to be paid, receiving the first indication information sent by the first server based on the first policy; or, in response to the user paying the fees to be paid, receiving the second indication information sent by the first server based on the first policy.
[0327] In one embodiment, in response to the user not paying the pending fees, the first indication information sent by the first server based on the first policy is received; wherein the first server is used to provide services for managing corresponding devices for at least two operators, and the first information indicates the payment result of the user paying the pending fees for purchasing the first device to the first operator; the first operator is one of the at least two operators; the first policy is used to adjust the operating state of the first device; the first indication information is used to instruct the first device to switch to the locked state; the locked state is a state in which the first device is locked.
[0328] Here, in response to the payment result being the result that the user has not paid the fee to be paid, the first indication information sent by the first server based on the first policy is received; the first indication information is used to instruct the first device to switch to a locked state; the locked state is a state in which the first device is locked, so the first device can be locked in time if the user has not paid the fee to be paid. At this time, the user's experience of using the first device is poor, so the user can be prompted to pay the fee to be paid in time to unlock the first device, reduce the situation where the user does not pay the fee to be paid, and reduce the situation where the interests of the first operator are damaged.
[0329] In one embodiment, in response to the user not paying the pending fees, the second indication information sent by the first server based on the first policy is received; wherein the first server is used to provide services for managing corresponding devices for at least two operators, and the first information indicates the payment result of the user paying the pending fees to the first operator for purchasing the first device; the first operator is one of the at least two operators; the first policy is used to adjust the operating state of the first device; the second indication information is used to instruct the first device to switch to the unlocked state; the unlocked state is a state where the first device is not locked.
[0330] Here, since the payment result is a result of the user paying the fee to be paid, the second indication information sent by the first server based on the first policy is received; the second indication information is used to instruct the first device to switch to an unlocked state; the unlocked state is a state in which the first device is not locked. Therefore, after the user pays the fee to be paid, the first device can be unlocked in time, thereby improving the user experience.
[0331] In one embodiment, the first strategy includes at least one of the following:
[0332] The first sub-strategy is a strategy for locking the first device according to a first payment result; the first payment result is a result that the user fails to pay all the fees to be paid on time;
[0333] The second sub-strategy is a strategy for locking the first device according to a second payment result; the second payment result is a result that the user fails to pay part of the to-be-paid fee on time;
[0334] The third sub-strategy is a strategy for unlocking the first device according to a third payment result; the third payment result is a result that the user pays the fee to be paid.
[0335] Here, since the first policy includes sub-policies adapted to different payment results, the second information received and sent based on the first policy can flexibly adapt to different payment results. At this time, the process of locking or unlocking the first device according to the second information can also flexibly adapt to different payment results. In this way, the richness of the policy can be increased, and the flexibility of using the policy to lock or unlock the first device can be enhanced.
[0336] In one embodiment, the policy for locking the first device may include: a policy for instantly locking the first device and / or a policy for delaying locking the first device.
[0337] In one embodiment, the first sub-policy may be a policy for instantly locking the first device according to the first payment result; the second sub-policy may be a policy for delaying locking the first device according to the second payment result. In one embodiment, the policy for delaying locking the first device is used to indicate that the second information is sent to the first device at a predetermined time after the payment deadline based on the re-acquired first information and the re-determined first policy.
[0338] In one embodiment, when the payment result is the first payment result, the target sub-strategy may be the first sub-strategy; or, when the payment result is the second payment result, the target sub-strategy may be the second sub-strategy. It should be noted that the target sub-strategy here may be any target sub-strategy described in the embodiments of the present disclosure.
[0339] In one embodiment, when the payment result is the third payment result, the target sub-strategy may be the third sub-strategy.
[0340] In one embodiment, the first strategy is a preset strategy and / or a strategy updated from the preset strategy.
[0341] In one embodiment, second information sent by a first server based on a first policy and first information is received; wherein the first server is used to provide services for managing corresponding devices for at least two operators, the first policy is a preset policy, and the first information indicates a payment result of a user paying a fee to the first operator for purchasing the first device; the first operator is one of the at least two operators; the first policy is used to adjust the operating state of the first device; the second information indicates that the first device switches between a locked state and an unlocked state; the locked state is a state in which the first device is locked; and the unlocked state is a state in which the first device is not locked.
[0342] Here, since a policy for adjusting the operating state of the first device is preset, after the first server obtains the first information, it can promptly send the second information to the first device according to the preset policy to adjust the operating state of the first device. At this time, there is no need to temporarily generate a policy for adjusting the operating state of the first device in the first server, and the operating state of the first device can be quickly adjusted directly based on the preset policy. In this way, the efficiency of the first server sending the second information to the first device to adjust the operating state of the first device can be improved.
[0343] In one embodiment, second information sent by a first server based on a first policy and first information is received; wherein the first server is used to provide services for managing corresponding devices for at least two operators, the first policy is a policy that updates a preset policy based on a detected second input operation, and the first information indicates a payment result of a user paying a fee to the first operator for purchasing the first device; the first operator is one of the at least two operators; the first policy is used to adjust the operating state of the first device; the second information indicates that the first device switches between a locked state and an unlocked state; the locked state is a state in which the first device is locked; and the unlocked state is a state in which the first device is not locked.
[0344] Here, since the first server can update the preset policy based on the detected second input operation, the first server can adapt the process of sending the second information to the first device using the updated policy to the process of sending the second information to the detected second input operation. At this time, the preset policy can be flexibly updated in the first server and the second information can be flexibly sent based on the updated policy, thereby improving the flexibility of the first server in managing the first device and improving the user experience of performing the second input operation.
[0345] In one embodiment, Fig.21 As shown, before receiving the second information sent by the first server based on the first policy and the first information, the method further includes:
[0346] Step S2101, in response to the first device being in a state of being turned on for the first time, execute a first operation and a second operation; wherein the first operation is an operation of forcing networking, and the second operation is an operation of configuring a functional module in a networked state; the functional module is at least used to lock the first device and / or unlock the first device.
[0347] In one embodiment, in response to the first device being turned on for the first time, guidance information is output; wherein the guidance information is used to guide the user to configure the function module.
[0348] For example, see Figure 8 , the process of configuring the functional module includes steps a4 to a7. Step a4 means that the first device can initiate a link to the fourth server, instructing the fourth server to determine whether the first device has completed registration in the fourth server; if the registration is completed, step a5 is executed, and step a5 means that the fourth server can send the second functional module and the configuration information for configuring the second functional module to the first device; step a6 is executed, and step a6 may mean that the first device requests the fourth server to send the first functional module; step a7 is executed, and the fourth server sends the first functional module to the first device.
[0349] In one embodiment, the process of configuring the functional module includes: automatically linking to a fourth server, and obtaining compilation information and configuration information of the functional module from the fourth server. The compilation information here may refer to an application package corresponding to the functional module. The fourth server may be any fourth server described in any of the embodiments of the present disclosure.
[0350] In one embodiment, the function modules may be automatically run after being configured.
[0351] In one embodiment, the functional module includes a first functional module and a second functional module (such as Fig. 22 The first functional module and the second functional module shown in the figure), the first functional module is used to send instructions to the second functional module according to the second information; the second functional module is used to lock the first device or unlock the first device according to the instruction sent by the first functional module.
[0352] In one embodiment, the first function module and the second function module may be published on a predetermined mall (such as Figure 2 As shown in the figure, a trusted application (TA) is provided.
[0353] In one embodiment, the first functional module may be a kiosk module published in a predetermined mall, and the second functional module may be a DLC module published in a predetermined mall.
[0354] In one embodiment, the first server has the authority to delete and / or modify the functional modules in the first device.
[0355] In one embodiment, the first server has the authority to delete and / or modify the first functional module in the first device. And / or, the first server has the authority to delete and / or modify the second functional module in the first device.
[0356] In one embodiment, the first device does not have permission to actively delete and / or modify the functional modules in the first device.
[0357] Here, since the first server has the authority to delete and / or modify the function modules in the first device, the first device does not have the authority to actively delete and / or modify the function modules in the first device. The function modules in the first device are at least used to lock or unlock the first device. Therefore, the function modules in the first device will not be deleted at will, and it can be ensured that the first server can be used to lock and / or unlock the first device during the process of the first server managing the first device. In this way, the reliability of the first operator managing the first device through the first server can be ensured, and the interests of the first operator can be ensured not to be damaged.
[0358] In one embodiment, Fig.23 As shown, the receiving the second information sent by the first server based on the first strategy and the first information includes:
[0359] Step S2301, receiving the second information through the first functional module;
[0360] The method further comprises:
[0361] Step S2302: In response to receiving the second information, the first device is locked or unlocked using the second functional module.
[0362] In one embodiment, the first functional module may be used to specifically receive information sent by the first server and send information to the first server.
[0363] In one embodiment, the locked state is a state in which the application of the device is locked, and the unlocked state is a state in which the application of the device is unlocked.
[0364] In one embodiment, when the first device is in a locked state, the first functional module is further configured to provide an unlocked application.
[0365] In one embodiment, the locked state may be a state indicating that the first device is locked to the first functional module, and the first functional module may be used to provide a preset application. At this time, except for the preset application provided by the first functional module, other applications in the first device are not available.
[0366] In one embodiment, Fig.24 As shown, the method also includes:
[0367] Step S2401, in response to the user paying all the fees for purchasing the first device, receiving third information sent by the first server; wherein the third information indicates information for uninstalling a functional module in the first device;
[0368] Step S2402: uninstall the functional module based on the third information.
[0369] Here, in response to the user paying all the fees for purchasing the first device, the first server will receive the third information sent by the first server, and the third information indicates uninstalling the functional module in the first device. Therefore, after the user pays the fees for purchasing the first device, the first device can uninstall the functional module based on the instruction of the third information sent by the first service, thereby releasing the first device so that the first device will no longer switch to the locked state. In this way, after ensuring that the operator has collected all the fees, the user's experience of using the first device can be improved.
[0370] In one embodiment, the first device may be a device sold by an operator through installment payment. Here, the user paying all fees for purchasing the first device may mean that the user has paid all outstanding fees corresponding to all payment terms.
[0371] In one embodiment, a payment deadline sent by the first server may be received, where the payment deadline is used to trigger the first device to switch between a locked state and an unlocked state when the first device is off-network.
[0372] In one embodiment, based on the payment deadline, it is determined whether the user has paid the fees to be paid on time; in response to the user not paying the fees to be paid on time and not receiving the second information sent by the first server, switching to a locked state.
[0373] In one embodiment, based on the payment deadline, it is determined whether the user has paid the fees to be paid on time; in response to the user paying the fees to be paid on time and not receiving the second information sent by the first server, the state is switched to an unlocked state.
[0374] In one embodiment, Fig.25 As shown, the method also includes:
[0375] Step S2501: In response to uninstalling the functional module in the first device, sending first confirmation information to the first server.
[0376] In one embodiment, the first confirmation information is used to trigger the first server to delete the device information in the first server, and / or the first confirmation information is used to trigger the first server to send a second request information to the second server, wherein the second request information is used to request the second server to allow updating of the program package of the first device.
[0377] In one embodiment, Fig.26 As shown, the method also includes:
[0378] Step S2601: Acquire fourth information; wherein the fourth information indicates information of a key and / or a token used for communication between the first device and the first server;
[0379] Step S2602: Send the fourth information to the first server.
[0380] In one embodiment, in response to receiving second confirmation information from the first server regarding the fourth information, communicating with the first server is performed based on the key and / or the token.
[0381] In one embodiment, in response to configuring the first functional module, the token information is acquired using the first functional module.
[0382] In one embodiment, in response to configuring the first functional module, the first functional module is used to obtain token information from the fifth server (for example, see Figure 8 Steps a8 to a9 shown).
[0383] In one embodiment, the information of the key is generated using a predetermined algorithm. The predetermined algorithm may be a public key encryption algorithm. The predetermined algorithm may be an asymmetric encryption algorithm. For example, the predetermined algorithm may be a (RSA, Rivest-Shamir-Adleman) algorithm. Alternatively, the predetermined algorithm may be a symmetric encryption algorithm, for example, the predetermined algorithm may be an Advanced Encryption Standard (AES, Advanced Encryption Standard) algorithm.
[0384] Exemplarily, the process of obtaining the key can be as follows: Figure 8 Step a12 shown.
[0385] In one embodiment, sending the fourth information to the first server includes: using the first functional module to transmit the fourth information to the first server through the fifth server.
[0386] In one embodiment, sending the fourth information to the first server includes: sending token information to the first server (exemplarily, such as Figure 8 Step a10 shown).
[0387] In one embodiment, sending the fourth information to the first server includes: sending key information to the first server (exemplarily, Figure 8 Step a13 shown).
[0388] In one embodiment, the first server may authenticate the key information with the sixth server (exemplarily, see step a14 and step a15); in response to successful authentication, the key may be stored in the first server (exemplarily, see Figure 8 Step a16 shown). The sixth server may be a server for authenticating keys.
[0389] In one embodiment, the second information is further determined based on the key and / or the token.
[0390] In one embodiment, after the first server receives the fourth information, all information transmitted between the first server and the first device may be pre-processed using a key and / or a token.
[0391] In one embodiment, after the first server receives the fourth information, all information transmitted between the first server and the first device can be transmitted to the other end using the fifth server. For example, information sent by the first server to the first device can be transmitted to the first device via the fifth server. Alternatively, information sent by the first device to the first server can be transmitted to the third server via the fifth server.
[0392] In one embodiment, Fig. 27 As shown, the method is applied to the second server, and the method includes:
[0393] Step S2701, receiving a first request message sent by a first server; wherein the second server is used to update a program package of the first device; and the first request message is used to request the second server to prohibit updating of the program package of the first device.
[0394] Here, since the first request information is received, and the first request information is used to request the second server to prohibit updating the program package of the first device, it can adapt to the request of the first server to prohibit updating the program package of the first device. At this time, the second server cannot be used to update the program package on the first device at will, and the association between the first device and the first server will not be tampered with by changing the program package. In this way, it can be ensured that the program package on the first device is not tampered with, improve the security of the first device, and enable the operator to use the first server as usual to manage the first device registered on the first server (for example, the first device can be locked), ensuring the interests of the operator.
[0395] In one embodiment, the program package may refer to a read-only memory (ROM) package of the first device.
[0396] In one embodiment, the first device may be a mobile phone, and the second server used to update the program package of the mobile phone may refer to the second server being used to perform a flashing operation on the first device.
[0397] In one embodiment, a first program is flashed into a program package of the first device, and the first program is used to limit the flashing operation performed on the first device. The first program can be used to limit the operation of obtaining the root permission of the first device.
[0398] In one embodiment, the second server may be a dedicated server for updating the program package of the first device. Here, it can also be understood that the program package of the first device can only be updated through the second service.
[0399] In one embodiment, Fig.28 As shown, the method also includes:
[0400] Step S2801, in response to receiving the first request information, adding the first device to a first list; wherein the second server prohibits updating of program packages of devices in the first list.
[0401] Here, in response to receiving the first request information, the first device is added to the first list; wherein the second server prohibits updating the program packages of the devices in the first list, therefore, the second server can efficiently manage the devices prohibited from updating the program packages through the first list, thereby improving the convenience of the second server in managing the devices.
[0402] In one embodiment, Fig.29 As shown, the method also includes:
[0403] Step S2901, receiving a second request message sent by a first server; wherein the second request message is used to request the second server to allow updating of the program package of the first device.
[0404] Here, since the second request information sent by the first server is received, and the second request information is used to request the second server to allow the program package of the first device to be updated, it is possible to adapt to the request of the first server and allow the program package of the first device to be updated, thereby allowing the user to arbitrarily request the second server to update the program package when the first server does not have the need to manage the first device. In this way, a good user experience can be ensured.
[0405] In one embodiment, Fig.29 As shown, the method also includes:
[0406] Step S2902: in response to receiving the second request information, deleting the first device from the first list; wherein the second server allows updating of program packages of devices outside the first list.
[0407] like Fig.30 As shown, an embodiment of the present disclosure provides a method for controlling a device, the method being applied to a third server, the method comprising:
[0408] Step S3001, sending first information to a first server; wherein the first server is used to provide services for managing corresponding devices for at least two operators, and the first information indicates whether the user has a first authority to use the first device; the first operator is one of the at least two operators; and the third server is used to manage first information of the device corresponding to the first operator.
[0409] Here, since the third server can send the first information to the first server, and the third server is used to manage the first information of the device corresponding to the first operator, it is not necessary to pre-store the first information in the first server, but the first information of the first device can be obtained in time through the third server. In this way, the timeliness of obtaining the first information can be ensured, and the corresponding second information can be sent to the user in time for the first information.
[0410] In one embodiment, in order to better understand the technical solution in the embodiment of the present disclosure, please refer to Fig.31 , Fig.31 The overall framework and process of the first server managing the first device are exemplarily shown:
[0411] like Fig.31 As shown, the management process of the first device may mainly include a registration and activation process and a contract control process.
[0412] The registration and activation process includes the following steps:
[0413] 1. Register the first device:
[0414] Before an operator purchases a device from a manufacturer, the manufacturer needs to register the device identifier of the device in the first server. Only the device registered in the first server will be subject to the locking logic control.
[0415] 2. Sales equipment:
[0416] The operator signs an installment payment contract with the user and sells the first device to the user. The user needs to pay for the device in installments as defined in the contract, otherwise the operator has the right to lock the device.
[0417] 3. Activate the device:
[0418] After the user gets the first device, the user will communicate with the first server when turning it on for the first time, and activate the device as a contract device through relevant protocols. Once the device is in the contract device state, the operator will control the device according to the contract requirements.
[0419] The contract control process includes the following steps:
[0420] 1. Payment deadline reminder:
[0421] When the payment deadline is approaching, the first server will notify the user to remind the payment deadline. The specific reminder is as follows:
[0422] 1) Reminder 7 days before the payment deadline;
[0423] 2) Reminder 3 days before the payment deadline;
[0424] 3) Reminder 1 day before payment deadline.
[0425] 2. Lock the machine:
[0426] When the user does not pay the fees to be paid according to the contract requirements, the first device will be locked (may be locked to a fixed application). At this time, the first device can only access specific other applications, such as applications for paying fees to be paid, applications for emergency calls, and applications for setting network status.
[0427] 3. Unlock:
[0428] After the user pays for the pending application, the device will be unlocked and the user can use the first device normally.
[0429] 4. Release:
[0430] After the user has paid all the fees for purchasing the first device, the first device will be completely released to the user, and the first device will no longer be controlled by the operator.
[0431] like Fig.32 As shown, an embodiment of the present disclosure provides a control device for a device, the device comprising:
[0432] An acquisition module 321 is used to acquire first information corresponding to a first device; wherein the first information indicates whether a user has a first permission to use the first device; the first device is a device corresponding to a first operator; a sending module 322 is used to send second information to the first device based on the first information and a first policy; wherein the first policy is at least used to adjust the operating state of the first device; and the second information indicates that the first device switches between a locked state and an unlocked state.
[0433] like Fig.33 As shown, an embodiment of the present disclosure provides a control device for a device, the device comprising:
[0434] A receiving module 331, configured to receive second information sent by the first server based on the first policy and the first information;
[0435] Among them, the first server is used to provide services for managing corresponding devices for at least two operators, the first information indicates whether the user has the first authority to use the first device; the first device is a device corresponding to the first operator; the first operator is one of the at least two operators; the first policy is used to adjust the operating state of the first device; the second information indicates that the first device switches between a locked state and an unlocked state.
[0436] like Fig.34 As shown, an embodiment of the present disclosure provides a control device for a device, the device comprising:
[0437] Receiving module 341 is used for the second server to receive the first request information sent by the first server; wherein the second server is used to update the program package of the first device; and the first request information is used to request the second server to prohibit updating the program package of the first device.
[0438] like Fig.35 As shown, an embodiment of the present disclosure provides a control device for a device, the device comprising:
[0439] A sending module 351 is used for a third server to send first information to a first server; wherein, the first server is used to provide services for managing corresponding devices for at least two operators, and the first information indicates whether a user has a first authority to use the first device; the first device is a device corresponding to a first operator; the first operator is one of the at least two operators; and the third server is used to manage the first information of the device corresponding to the first operator.
[0440] Fig.36 6 is a block diagram of an electronic device 600 according to an exemplary embodiment. The disclosed method can be applied to the electronic device.
[0441] Reference Fig.36 , the electronic device 600 may include one or more of the following components: a processing component 602 , a memory 604 , a power component 606 , a multimedia component 608 , an audio component 610 , an input / output (I / O) interface 612 , a sensor component 614 , and a communication component 616 .
[0442] The processing component 602 generally controls the overall operation of the electronic device 600, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 602 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 602 may include one or more modules to facilitate the interaction between the processing component 602 and other components. For example, the processing component 602 may include a multimedia module to facilitate the interaction between the multimedia component 608 and the processing component 602.
[0443] The memory 604 is configured to store various types of data to support operations on the device 600. Examples of such data include instructions for any application or method operating on the electronic device 600, contact data, phone book data, messages, pictures, videos, etc. The memory 604 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0444] The power supply component 606 provides power to the various components of the electronic device 600. The power supply component 606 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the electronic device 600.
[0445] The multimedia component 608 includes a screen that provides an output interface between the electronic device 600 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 608 includes a front camera and / or a rear camera. When the device 600 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and the rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0446] The audio component 610 is configured to output and / or input audio signals. For example, the audio component 610 includes a microphone (MIC), and when the electronic device 600 is in an operation mode, such as a call mode, a recording mode, and a voice determination mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 604 or sent via the communication component 616. In some embodiments, the audio component 610 also includes a speaker for outputting audio signals.
[0447] I / O interface 612 provides an interface between processing component 602 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.
[0448] The sensor assembly 614 includes one or more sensors for providing various aspects of status assessment for the electronic device 600. For example, the sensor assembly 614 can detect the open / closed state of the device 600, the relative positioning of components, such as the display and keypad of the electronic device 600, and the sensor assembly 614 can also detect the position change of the electronic device 600 or a component of the electronic device 600, the presence or absence of contact between the user and the electronic device 600, the orientation or acceleration / deceleration of the electronic device 600, and the temperature change of the electronic device 600. The sensor assembly 614 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 614 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 614 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0449] The communication component 616 is configured to facilitate wired or wireless communication between the electronic device 600 and other devices. The electronic device 600 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 616 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 616 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency determination (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0450] In an exemplary embodiment, the electronic device 600 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above methods.
[0451] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 604 including instructions, and the instructions can be executed by the processor 820 of the electronic device 600 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0452] Those skilled in the art will readily appreciate other embodiments of the present invention after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses or adaptations of the present invention, which follow the general principles of the present invention and include common knowledge or customary technical means in the art not disclosed in this disclosure.
[0453] It will be appreciated that the present invention is not limited to the exact construction that has been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof.
Claims
1. A method for controlling a device, characterized in that: The method is applied to a first server, where the first server is used to provide services for managing corresponding devices for at least two operators, and the method includes: Acquire first information corresponding to a first device; wherein the first information indicates whether a user has a first permission to use the first device; the first device is a device corresponding to a first operator; the first operator is one of the at least two operators; Based on the first information and the first policy, second information is sent to the first device; wherein the first policy is at least used to adjust the operating state of the first device; and the second information instructs the first device to switch between a locked state and an unlocked state.
2. The method according to claim 1, characterized in that The first information indicates a payment result of the user paying the first operator a fee to be paid for purchasing the first device, and the payment result is used to determine whether the user has the first authority.
3. The method according to claim 2, characterized in that The second information includes one of the following: first indication information, used to instruct the first device to switch to the locked state; The second indication information is used to instruct the first device to switch to the unlocked state.
4. The method according to claim 3, characterized in that The sending second information to the first device based on the first information and the first policy includes: In response to the first information indicating that the user has not paid the fee to be paid, sending the first indication information to the first device based on the first policy; or, In response to the first information indicating that the user has paid the fee to be paid, the second indication information is sent to the first device based on the first policy.
5. The method according to claim 2, characterized in that: The first strategy includes at least one of the following: The first sub-strategy is a strategy for locking the first device according to a first payment result; the first payment result is a result that the user fails to pay all the fees to be paid on time; The second sub-strategy is a strategy for locking the first device according to a second payment result; the second payment result is a result that the user fails to pay part of the to-be-paid fee on time; The third sub-strategy is a strategy for unlocking the first device according to a third payment result; the third payment result is a result that the user pays the fee to be paid.
6. The method according to claim 1, characterized in that Before sending second information to the first device based on the first information and the first policy, the method further includes: registering device information of the first device in the first server; In response to successful registration, a first request message is sent to a second server; wherein the second server is used to update the program package of the first device; and the first request message is used to request the second server to prohibit updating the program package of the first device.
7. The method according to claim 6, characterized in that The second information indicates that the first device switches between the locked state and the unlocked state through a functional module; wherein the functional module is at least used to lock the first device or unlock the first device.
8. The method according to claim 7, characterized in that The method further comprises: In response to the user paying all the fees for purchasing the first device, third information is sent to the first device; wherein the third information indicates uninstalling the functional module in the first device.
9. The method according to claim 8, characterized in that The method further comprises: In response to receiving first confirmation information sent by the first device in response to the third information, deleting the device information in the first server, and / or, In response to receiving the first confirmation information sent by the first device in response to the third information, second request information is sent to the second server, wherein the second request information is used to request the second server to allow updating of the program package of the first device.
10. The method according to claim 6, characterized in that The registering the device information of the first device in the first server includes: Registering device information of the first device based on the first file information; wherein the first file information carries the device information; and / or, Based on the detected first input operation, the device information of the first device is registered; wherein the first input operation is used to input the device information.
11. The method according to claim 1, characterized in that: The method further comprises: receiving fourth information sent by the first device; wherein the fourth information indicates information of a key and / or a token used for communication between the first device and the first server; The sending the second information to the first device includes: The second information is sent to the first device using the key and / or token.
12. The method according to claim 2, characterized in that: The method further comprises: Obtaining a payment deadline, wherein the payment deadline is a deadline for paying the fee agreed upon by the first operator and the user; Before the payment deadline, based on a second policy, a prompt message is sent to the first device; wherein the second policy is a policy for prompting the user to pay the fee, and the prompt message is used to prompt the user to pay the fee according to the payment deadline.
13. A method for controlling a device, characterized in that: The method is applied to a first device, where the first device is a device corresponding to a first operator, and the method further includes: Receiving second information sent by the first server based on the first policy and the first information; Among them, the first server is used to provide services for managing corresponding devices for at least two operators, the first information indicates whether the user has the first authority to use the first device; the first device is a device corresponding to the first operator; the first operator is one of the at least two operators; the first policy is used to adjust the operating state of the first device; the second information indicates that the first device switches between a locked state and an unlocked state.
14. The method according to claim 13, characterized in that The first information indicates a payment result of the user paying the first operator a fee to be paid for purchasing the first device, and the payment result is used to determine whether the user has the first authority.
15. The method according to claim 14, characterized in that The second information includes at least one of the following: first indication information, used to instruct the first device to switch to the locked state; The second indication information is used to instruct the first device to switch to the unlocked state.
16. The method according to claim 15, characterized in that The sending second information to the first device based on the first information and the first policy includes: In response to the user not paying the fee to be paid, receiving the first indication information sent by the first server based on the first policy; or, In response to the user paying the fee to be paid, receiving the second indication information sent by the first server based on the first policy.
17. The method according to claim 14, characterized in that Before receiving the second information sent by the first server based on the first policy and the first information, the method further includes: In response to the first device being turned on for the first time, a first operation and a second operation are performed; wherein the first operation is an operation of forcing networking, and the second operation is an operation of configuring a functional module in a networked state; the functional module is at least used to lock the first device and / or unlock the first device.
18. The method according to claim 17, characterized in that The functional module includes a first functional module and a second functional module, the first functional module is used to send instructions to the second functional module according to the second information; the second functional module is used to lock the first device or unlock the first device according to the instructions sent by the first functional module.
19. The method according to claim 18, characterized in that The receiving second information sent by the first server based on the first policy and the first information includes: receiving the second information through the first functional module; The method further comprises: In response to receiving the second information, the first device is locked or unlocked using the second functional module.
20. The method according to claim 19, characterized in that The locked state is a state in which the application of the first device is locked, the unlocked state is a state in which the application of the first device is unlocked, and the first permission includes a permission for a user to use the application of the first device.
21. The method according to claim 20, characterized in that When the first device is in a locked state, the first functional module is further configured to provide an unlocked application.
22. The method according to claim 19, characterized in that The method further comprises: In response to the user paying all the fees for purchasing the first device, receiving third information sent by the first server; wherein the third information indicates information of uninstalling the functional module in the first device; Based on the third information, the functional module is uninstalled.
23. The method according to claim 19, characterized in that The method further comprises: In response to uninstalling the functional module in the first device, first confirmation information is sent to the first server.
24. The method according to claim 13, characterized in that The method further comprises: Acquire fourth information; wherein the fourth information indicates information of a key and / or a token used for communication between the first device and the first server; The fourth information is sent to the first server.
25. The method according to claim 24, characterized in that The second information is also determined based on the key and / or the token.
26. The method according to claim 14, characterized in that The method further comprises: Before the payment deadline, receiving a prompt message sent by the first server based on a third policy; The payment deadline is the deadline for paying the fee agreed upon by the first operator and the user; the third strategy is a strategy for prompting the user to pay the fee, and the prompt information is used to prompt the user to pay the fee on time.
27. A control device for an equipment, characterized in that: The device comprises: An acquisition module is used to acquire first information corresponding to a first device; wherein the first information indicates whether a user has a first permission to use the first device; the first device is a device corresponding to a first operator; a sending module is used to send second information to the first device based on the first information and a first policy; wherein the first policy is at least used to adjust the operating state of the first device; the second information indicates that the first device switches between a locked state and an unlocked state.
28. A control device for an equipment, characterized in that: The device comprises: A receiving module, configured to receive second information sent by the first server based on the first policy and the first information; Among them, the first server is used to provide services for managing corresponding devices for at least two operators, the first information indicates whether the user has the first authority to use the first device; the first device is a device corresponding to the first operator; the first operator is one of the at least two operators; the first policy is used to adjust the operating state of the first device; the second information indicates that the first device switches between a locked state and an unlocked state.
29. An electronic device, characterized in that: include: processor; a memory for storing processor-executable instructions; The processor is configured to implement the method of any one of claims 1 to 12 or 13 to 26 when running the executable instructions.
30. A computer-readable storage medium, characterized in that: The readable storage medium stores an executable program, wherein the executable program implements the method of any one of claims 1 to 12 or 13 to 26 when executed by a processor.
Citation Information
Patent Citations
Locking method of wireless terminal, wireless terminal and system
CN101977267A
Secure remote user device unlock
CN107211233A
Terminal locking and terminal locking control method and terminal, and control equipment
CN107370872A
Mobile Device-Type Locking
US20130109352A1
Device, System, and Method of Selective Activation, Deactivation, and Configuration of Components
US20200044868A1