CN112911061B - Mobile terminal, method for switching demonstration machine modes and computer medium - Google Patents

Mobile terminal, method for switching demonstration machine modes and computer medium Download PDF

Info

Publication number
CN112911061B
CN112911061B CN201911133917.8A CN201911133917A CN112911061B CN 112911061 B CN112911061 B CN 112911061B CN 201911133917 A CN201911133917 A CN 201911133917A CN 112911061 B CN112911061 B CN 112911061B
Authority
CN
China
Prior art keywords
demonstration mode
demonstration
mobile terminal
mode
apk
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911133917.8A
Other languages
Chinese (zh)
Other versions
CN112911061A (en
Inventor
潘庆超
马广浩
荆楠楠
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hisense Mobile Communications Technology Co Ltd
Original Assignee
Hisense Mobile Communications Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hisense Mobile Communications Technology Co Ltd filed Critical Hisense Mobile Communications Technology Co Ltd
Priority to CN201911133917.8A priority Critical patent/CN112911061B/en
Publication of CN112911061A publication Critical patent/CN112911061A/en
Application granted granted Critical
Publication of CN112911061B publication Critical patent/CN112911061B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a mobile terminal and a method for switching demonstration machine modes, which respond to an instruction of opening a demonstration mode and send an authorization verification request carrying a mobile terminal device identifier to a verification server; receiving a check result returned by the check server according to whether the check server finds the mobile terminal equipment identification in a local authorized mobile terminal equipment set; and when the demonstration mode is determined to be opened by the indication according to the verification result, the demonstration mode is triggered to be opened by updating the state value of the demonstration mode to be in the opening state. The invention can freely switch the mobile terminal between the demonstration state and the non-demonstration state, so that the demonstration mobile terminal can carry out unified control on the verification server, thereby saving the management cost and improving the working efficiency.

Description

Mobile terminal, method for switching demonstration machine modes and computer medium
Technical Field
The invention relates to the field of terminal demonstration, in particular to a mobile terminal and a demonstration machine mode switching method.
Background
In the continuous popularization process of intelligent equipment, function demonstration becomes an important link, and each manufacturer can provide demonstration equipment as function demonstration on site, demonstrates various functions of intelligent equipment for customers, and lets customers experience the equipment function in person. The demonstration device at the present stage mainly has the following two modes:
One way is to demonstrate the functions of the intelligent device by using a demonstration device, compared with the intelligent device itself, the special demonstration device is limited in some functions, such as no card insertion, no conversation, etc.; another way is to set the intelligent device used as a commodity as a demonstration device, download a demonstration application program in the intelligent device, and limit some functions on the intelligent device, which is adopted by many manufacturers at present.
By utilizing the two modes, some defects exist, for example, a manufacturer produces special demonstration equipment, the intelligent equipment of the type is greatly different from common equipment, the demonstration state and the non-demonstration state cannot be flexibly switched, and the recycling is difficult; and the intelligent equipment with the limiting function is used as demonstration equipment, each demonstration equipment needs to be manually limited to some functions, and the comprehensive management of the demonstration equipment is disordered and low in efficiency.
Disclosure of Invention
The invention provides a mobile terminal and a method for switching demonstration machine modes, which are used for solving the problems that the demonstration state and the non-demonstration state of the current mobile terminal cannot be flexibly switched and are difficult to recycle; and the intelligent equipment with the limiting function is used as demonstration equipment, the demonstration equipment needs to artificially limit some functions, and the comprehensive management of the demonstration equipment is disordered and low in efficiency.
A first aspect of the present invention provides a mobile terminal comprising at least one processing unit and at least one memory unit;
wherein the storage unit stores program code that, when executed by the processing unit, causes the processing unit to perform the following:
responding to an instruction of opening the demonstration mode, and sending an authorization verification request carrying the mobile terminal equipment identifier to a verification server;
receiving whether the check server finds a check result returned by the mobile terminal equipment identification according to the local authorized mobile terminal equipment set;
and when the demonstration mode is determined to be authorized to be opened according to the verification result, the demonstration mode is triggered to be opened by updating the state value of the demonstration mode to be in an opening state.
Optionally, the processing unit is further configured to:
opening a demonstration mode and downloading a demonstration APK from an APK server when the demonstration APK is determined not to be installed locally; or
After the demonstration mode is opened, sending version information of a local demonstration APK to an APK server, and receiving a demonstration APK after an updated version sent after the APK server determines that the demonstration APK version is updated; or
And after the demonstration mode is opened, receiving a notification sent by the APK uploading terminal after the APK uploads the demonstration APK with the updated version to the APK server, and downloading the demonstration APK with the updated version from the APK server.
Optionally, the processing unit is specifically configured to trigger downloading of the demonstration APK/the demonstration APK after the update version from the APK server by modifying the download flag bit to be downloaded, and modify the download flag bit to be downloaded after the downloading is completed.
Optionally, the processing unit is further configured to:
interacting with the verification server, and triggering to close the demonstration mode by updating the state value of the demonstration mode to be in a closing state when the verification server indicates to close the demonstration mode.
Optionally, the processing unit is further configured to interact with the verification server, and when it is determined that the verification server indicates to close the presentation mode, the processing unit is specifically configured to:
the demonstration mode closing time set after the verification server indicates to open the demonstration mode is inquired in real time, and when the demonstration mode closing time is reached, the verification server indicates to close the demonstration mode; or alternatively
The demonstration mode state value set by the verification server after the demonstration mode is instructed to be opened is inquired in real time, and when the demonstration mode state value in the verification server is in a closed state, the verification server is determined to instruct the demonstration mode to be closed; or
And when receiving a demonstration mode closing notification sent by the server when the server determines that the closing time is reached according to the demonstration mode opening time, determining that the verification server indicates to close the demonstration mode.
Optionally, the processing unit is further configured to:
and when the demonstration mode is closed, outputting a prompt that the initial setting of the mobile terminal needs to be recovered in the demonstration mode on the main interface.
Optionally, the processing unit is further configured to:
and when the demonstration mode is determined to be opened without authorization according to the verification result, keeping the state value of the demonstration mode as a closing state value, and outputting a prompt that the demonstration mode of the mobile terminal is not authorized on an interface.
Optionally, the processing unit is further configured to:
and when the demonstration mode is opened or closed, feeding back the state information of the current demonstration mode to the verification server.
A second aspect of the present invention provides a verification server, configured to:
receiving an authorization verification request which is sent by a mobile terminal and carries a mobile terminal device identifier;
and judging whether the mobile terminal equipment identification is found in a local authorized mobile terminal equipment set or not according to the mobile terminal equipment identification in the received authorization verification request, and sending a verification result to the mobile terminal.
A third aspect of the present invention provides a method of switching a mode of a presentation machine, the method comprising:
responding to an instruction of opening the demonstration mode, and sending an authorization verification request carrying the mobile terminal equipment identifier to a verification server;
Receiving a check result returned by the check server according to whether the check server finds the mobile terminal equipment identification in a local authorized mobile terminal equipment set;
and when the demonstration mode is determined to be opened by the indication according to the verification result, the demonstration mode is triggered to be opened by updating the state value of the demonstration mode to be in the opening state.
Optionally, the processing unit is further configured to:
opening a demonstration mode and downloading a demonstration APK from an APK server when the demonstration APK is not installed locally; or alternatively
After the demonstration mode is opened, sending version information of a local demonstration APK to an APK server, and receiving a demonstration APK after an updated version sent after the APK server determines that the demonstration APK version is updated; or alternatively
And after the demonstration mode is opened, receiving a notification sent by the APK uploading terminal after the APK uploads the demonstration APK with the updated version to the APK server, and downloading the demonstration APK with the updated version from the APK server.
Optionally, the processing unit is specifically configured to trigger downloading of the demonstration APK/the demonstration APK after the update version from the APK server by modifying the download flag bit to be downloaded, and modify the download flag bit to be downloaded after the downloading is completed.
Optionally, the processing unit is further configured to:
Interacting with the verification server, and triggering to close the demonstration mode by updating the state value of the demonstration mode to be in a closing state when the verification server indicates to close the demonstration mode.
Optionally, the processing unit is further configured to interact with the verification server, and when it is determined that the verification server indicates to close the presentation mode, the processing unit is specifically configured to:
inquiring the demonstration mode closing time set after the verification server indicates to open the demonstration mode in real time, and determining that the verification server indicates to close the demonstration mode when the demonstration mode closing time is reached; or alternatively
The demonstration mode state value set by the verification server after the demonstration mode is instructed to be opened is inquired in real time, and when the demonstration mode state value in the verification server is in a closed state, the verification server is determined to instruct the demonstration mode to be closed; or
And when receiving a demonstration mode closing notification sent by the server when the server determines that the closing time is reached according to the demonstration mode opening time, determining that the verification server indicates to close the demonstration mode.
Optionally, the processing unit is further configured to:
and when the demonstration mode is closed, outputting a prompt that the demonstration mode needs to be restored to the initial setting of the mobile terminal on the main interface.
Optionally, the processing unit is further configured to:
and when the demonstration mode is determined to be indicated to be opened without authorization according to the verification result, keeping the state value of the demonstration mode as a closing state value, and outputting a prompt that the demonstration mode of the mobile terminal is not authorized on an interface.
Optionally, the processing unit is further configured to:
and when the demonstration mode is opened or closed, feeding back the state information of the current demonstration mode to the verification server.
A fourth aspect of the present invention provides a computer medium having stored thereon computer instructions which, when executed by a processor, implement the method of switching presenter modes described above.
By utilizing the mobile terminal and the demonstration machine mode switching method provided by the invention, the demonstration state and the non-demonstration state can be freely switched, so that the demonstration mobile terminal can be uniformly controlled in the verification server, the management cost is saved, and the working efficiency is improved.
Drawings
FIG. 1 is a schematic diagram of a system for switching between presentation engine modes;
FIG. 2 is a flow chart of a method of switching a presenter mode;
FIG. 3 is a schematic view of an open presentation mode selection interface;
FIG. 4 is a complete flow chart illustrating the mode turn-on and turn-off flow chart;
Fig. 5 is a schematic diagram of a cell structure of the mobile terminal;
fig. 6 is a schematic diagram of a specific structure of the mobile terminal.
Detailed Description
To make the objects, technical solutions and advantages of the embodiments of the present invention clearer, and to make the objects, technical solutions and advantages of the embodiments of the present invention clearer and more complete, the technical solutions in the embodiments of the present invention will be described below with reference to the drawings in the embodiments of the present invention. All other embodiments, which can be obtained by a person skilled in the art without inventive step based on the embodiments of the present invention, are within the scope of protection of the present invention.
The embodiments of the present invention will be described in further detail with reference to the drawings. It is to be understood that the embodiments described herein are merely illustrative and explanatory of the invention and are not restrictive thereof.
Referring to fig. 1, fig. 1 is a system for switching a mode of a presentation machine, and the system is composed of a mobile terminal 101, a verification server 102, an APK server 103, and an APK upload terminal 104. The method comprises the steps that a mobile terminal 101 sends an authorization verification request carrying a mobile terminal device identifier to a verification server 102, after the verification server 102 receives the authorization verification request carrying the mobile terminal device identifier, verification is carried out according to the mobile terminal device identifier in the received authorization verification request and an authorized mobile terminal device set, a verification result is sent to the mobile terminal 101, the mobile terminal 101 receives the verification result returned by the verification server 102, and when the mobile terminal 101 determines that the demonstration mode is authorized to be opened, the mobile terminal 101 updates a state value of the demonstration mode to trigger the opening of the demonstration mode; after the demonstration mode is opened, when the mobile terminal 101 determines that the demonstration APK is not installed locally, the demonstration APK is downloaded from the APK server 103, and the demonstration APK is uploaded to the APK server 103 by the APK terminal 104, and when the mobile terminal 101 determines that the verification server indicates that the demonstration mode is closed, the demonstration mode is triggered to be closed.
The error correction server 102 and the APK server 103 may be in the same server or different servers, wherein the mobile terminal 101 may be a device providing voice and/or data connectivity to a user, a handheld device having a wireless connection function, or another processing device connected to a wireless modem. In different systems, the names of the mobile terminals may be different, for example, in a 5G system, the mobile terminal may be referred to as a UE (User Equipment). Wireless mobile terminals may communicate with one or more core networks via a RAN (Radio Access Network), and may be mobile terminal devices such as mobile telephones (or "cellular" telephones) and computers having mobile terminal devices, which may be portable, pocket, hand-held, computer-included, or vehicle-mounted mobile devices, for example, that exchange speech and/or data with a Radio Access Network. For example, PCS (Personal Communication Service) phones, cordless phones, SIP (Session Initiated Protocol) phones, WLL (Wireless Local Loop) stations, PDAs (Personal Digital assistants), and the like. The wireless terminal device may also be referred to as a system, a subscriber unit (subscriber unit), a subscriber station (subscriber station), a mobile station (mobile), a remote station (remote station), an access point (access point), a remote terminal device (remote terminal), an access terminal device (access terminal), a user terminal device (user terminal), a user agent (user agent), and a user device (user device), which are not limited in this embodiment of the present application.
The invention provides a method for switching demonstration machine modes, which comprises the following steps:
step S201, responding to the instruction of opening the demonstration mode, and sending an authorization verification request carrying the mobile terminal equipment identifier to a verification server;
as an optional implementation manner, the manner of triggering the instruction for opening the demonstration mode may be that an option for opening the demonstration mode is stored in a system setting of the mobile terminal, and the user may trigger to send the instruction for opening the demonstration mode to the server by selecting and clicking the option for the demonstration mode; furthermore, a user inputs a password for opening the demonstration mode in the main interface, so that a demonstration mode opening interface is popped up, an option for opening the demonstration mode is selected and clicked, and an action for sending a demonstration mode opening instruction to the server is triggered.
As another optional implementation, a presentation mode icon is arranged in a status bar of the mobile terminal, the manner of triggering the presentation mode icon may be to slide a shortcut bar in a certain direction, a presentation mode start icon is displayed in the shortcut bar in a sliding manner, the presentation mode icon is operated by clicking or long pressing, and the like, so as to respond to the clicking operation on the presentation mode start icon, and an instruction for opening the presentation mode is triggered to be sent to the server by opening an interface in the presentation mode, inputting a secret code for opening the presentation mode; specifically, different display states of the demonstration mode icons correspond to switch states of the demonstration modes, after the demonstration mode icons are clicked in a closed state, a demonstration mode opening instruction is sent to the server, and after the demonstration modes are successfully opened, the demonstration mode icons are in an activated state; after the opening of the presentation mode icon fails, the presentation mode icon is maintained in an inactive state.
As another optional implementation, an application APP corresponding to the presentation mode is displayed on a display interface in the mobile terminal, the presentation mode interface is started by clicking the APP, a password for starting the presentation mode is input to the presentation mode opening interface in the presentation mode, and an instruction for starting the presentation mode is triggered to be sent to the server.
As shown in fig. 3, a schematic diagram of a presentation mode selection interface is shown, where after a password is input, an application corresponding to a presentation mode is opened, or a presentation mode icon is clicked, a presentation mode selection interface pops up, and by selecting an option of opening a presentation mode in the presentation mode, a locally stored or inherent mobile terminal device identifier of the device is sent to a server and requests authorization to open the presentation mode.
Wherein the mobile terminal equipment identifier is an MEID code or IMEI code of the mobile terminal. The MEID is (Mobile Equipment Identifier) which is an identity of the CDMA terminal and is also a unique Identifier of each CDMA terminal. Through the identification code, the network side can track and supervise the terminal. The method is used for the terminal of the CDMA standard. The numerical range of MEIDs is hexadecimal. The IMEI is an International Mobile Equipment Identity (International Mobile Equipment Identity), and is used for identifying Mobile communication Equipment such as each independent terminal in the Mobile terminal, and is equivalent to an Identity card of the Mobile terminal.
Step S202, receiving whether the check server finds the check result returned by the mobile terminal equipment identification or not according to the local authorized mobile terminal equipment set;
the verification server compares the received MEID code or IMEI code with the mobile terminal equipment set to judge whether the terminal is authorized and returns a verification result to the mobile terminal.
Specifically, a set of authorized mobile terminal device identifiers is stored in the verification server, and after receiving the sent mobile terminal identifiers, the verification server verifies the local mobile terminal device set.
When the mobile terminal identifier is in the set of authorized mobile terminal device identifiers, which indicates that the mobile terminal is authorized to open the demonstration mode, an instruction for opening the demonstration mode is sent to the mobile terminal, and step S203 is executed;
the verification server judges that the mobile terminal identification is not in the set of authorized mobile terminal equipment identifications, and indicates that the mobile terminal is not authorized to open the demonstration mode, the verification server sends an indication of not opening the demonstration mode to the mobile terminal, when the demonstration mode of the mobile terminal is in an open state, the mobile terminal closes the demonstration mode, when the demonstration mode of the mobile terminal is in a closed state, the mobile terminal keeps the demonstration mode state value as a closed state value, and a prompt that the mobile terminal is not authorized to open the demonstration mode is output on an interface of the mobile terminal.
Wherein, a state value is set in the mobile terminal to indicate whether the current device is in the demonstration mode or the non-demonstration mode. The state of the demonstration machine mode cannot be changed at will, when the value is 1, the demonstration machine mode is on, when the value is 0, the demonstration mode is off, the attribute value defaults to 0, and in order to guarantee that the verification server manages the same demonstration mobile terminal, the attribute value cannot be changed even if the attribute value is restored to factory settings or is refreshed.
Step S203, when the instruction of authorizing to open the demonstration mode is determined according to the verification result, the demonstration mode is triggered to be opened by updating the state value of the demonstration mode to be in an open state;
and when the verification result confirms that the demonstration mode is authorized to be opened, updating the attribute value of the demonstration mode from 0 to 1 by updating the state value of the demonstration mode, opening the demonstration mode by the mobile terminal, and feeding back the state information of the current demonstration mode to the verification server.
The verification server stores state information of a demonstration mode of the mobile terminal besides a mobile terminal device set, wherein the state information of the demonstration mode specifically includes information such as an attribute value of the demonstration mode, opening time of the demonstration mode, closing time of the demonstration mode, planned closing time and the like.
When the demonstration APK is updated at the APK server, the user needs to manually check whether the update exists or not and manually download and install the update. The manpower is wasted, and the working efficiency is reduced.
The method for switching the mode of the demonstration machine, provided by the embodiment of the invention, can automatically download the APK file of the corresponding version from the APK server and install the APK file into the mobile terminal after the demonstration mode is opened. After downloading, the mobile terminal can decide whether to download the new version of the APK file to the server according to the self requirement or the server request.
More specifically, the following three methods may be specifically used for downloading and installing the demonstration APK matched with the current mobile terminal model:
the first method is as follows: opening a demonstration mode and downloading a demonstration APK from an APK server when the demonstration APK is determined not to be installed locally;
after the mobile terminal opens the demonstration mode, the mobile terminal detects that the demonstration APK is not installed locally and/or the download flag bit of the demonstration APK is to be downloaded, the mobile terminal downloads the corresponding demonstration APK from the APK server, and after the download is finished, the downloaded demonstration APK is installed and the download flag bit is modified into the downloaded demonstration APK.
The second method comprises the following steps: after the demonstration mode is opened, sending version information of a local demonstration APK to an APK server, and receiving a demonstration APK with an updated version, which is sent after the APK server determines that the demonstration APK version is updated;
after the mobile terminal opens the demonstration mode, the terminal acquires version information of a local demonstration APK, the APK server receives the version information of the local demonstration APK, compares the version information with the version information of the current APK stored in the APK server, sends the demonstration APK after the new version to the mobile terminal if the version information of the APK adapted to the mobile equipment in the APK server is judged to be higher than the version information of the local demonstration APK, and after the sending is finished, installs the sent demonstration APK and modifies the download flag bit into downloaded.
The third method comprises the following steps: after the demonstration mode is opened, receiving a notification sent by an APK uploading terminal after uploading a demonstration APK with an updated version to an APK server, and downloading the demonstration APK with the updated version from the APK server;
the APK uploading terminal uploads a demonstration APK of an updated version to the APK server, the download flag bit corresponding to the demonstration APK of the mobile terminal is changed into an un-downloaded state while updating is carried out, the mobile terminal detects that the download flag bit of the demonstration APK is to be downloaded locally, the mobile terminal downloads the corresponding demonstration APK from the APK server, and after downloading is finished, the downloaded demonstration APK is installed and the download flag bit is changed into a downloaded state.
And step S204, when the receiving verification server indicates to close the demonstration mode, closing the demonstration mode.
The method for determining that the verification server indicates to close the demonstration mode may specifically be:
the first method is as follows: the demonstration mode closing time set after the verification server indicates to open the demonstration mode is inquired in real time, and when the demonstration mode closing time is reached, the verification server indicates to close the demonstration mode;
the method comprises the steps that the mobile terminal keeps a networking state, the mobile terminal inquires the closing time of a stored demonstration mode in the verification server in real time, when the closing time of the demonstration mode is detected, the demonstration mode is triggered to be closed by updating the state value of the demonstration mode to be in a closing state, the attribute value of the demonstration mode is updated from 1 to 0, the mobile terminal closes the demonstration mode, and the state information of the current demonstration mode is fed back to the verification server.
The second method comprises the following steps: the demonstration mode state value set by the verification server after the demonstration mode is instructed to be opened is inquired in real time, and when the demonstration mode state value in the verification server is in a closed state, the verification server is determined to instruct the demonstration mode to be closed;
the mobile terminal keeps a networking state, the mobile terminal inquires a stored demonstration mode state value in the verification server in real time, the demonstration mode state value is synchronized to the local terminal, when the updated demonstration mode state value is in a closing state, the demonstration mode is triggered to be closed, the demonstration mode attribute value is updated from 1 to 0, the mobile terminal closes the demonstration mode, and state information of the current demonstration mode is fed back to the verification server.
The third method comprises the following steps: when a demonstration mode closing notification sent when the server determines that the closing time is reached according to the time for opening the demonstration mode is received, determining that the verification server indicates to close the demonstration mode
When the demonstration mode is started by the mobile terminal, a file with time for closing the demonstration mode is received, the mobile terminal triggers the demonstration mode to be closed by reading information for closing the demonstration mode in the file and updating the state value of the demonstration mode to be in a closed state when the demonstration mode closing time is detected, the attribute value of the demonstration mode is updated from 1 to 0, the mobile terminal closes the demonstration mode, and the state information of the current demonstration mode is fed back to the verification server.
As an optional implementation manner, when the closing time value of the presentation time is not set, once the verification server receives the information that the presentation mode is opened, the verification server may calculate according to the state of the mobile terminal, and default the closing time of the presentation mode and the state value setting of the mobile terminal, for example, the verification server receives the information that the presentation mode is opened and sets the time for closing the presentation mode, calculates, according to the state of the mobile terminal, the opening time of the default presentation mode of the terminal to be 90 days, after 90 days, the verification server may send an instruction for updating the presentation mode to the local terminal, updates the attribute value from 1 to 0, and the mobile terminal closes the presentation mode and feeds back the state information of the current presentation mode to the verification server.
And when the mobile terminal is closed, outputting a prompt that the initial setting of the mobile terminal needs to be restored in the demonstration mode on the main interface. The restoration of the initial setting of the mobile terminal is specifically restoration of factory settings or restoration of the setting state of the mobile terminal before the demonstration mode is started.
As shown in fig. 4, fig. 4 is a flowchart of the demonstration mode turning on and off,
step S401, responding to the instruction of opening the demonstration mode, and sending an authorization verification request carrying the mobile terminal equipment identifier to a verification server;
step S402, receiving whether the check server finds the check result returned by the mobile terminal device identification according to the local authorized mobile terminal device set;
step S403, judging whether the returned verification result after verification is authorized, if the result is unauthorized, executing step S404, and if the result is authorized, executing step S405;
step S404, keeping the state value of the demonstration mode as a closing state value, and outputting a prompt that the mobile terminal is not authorized to demonstrate the mode on an interface;
step S405, the demonstration mode is triggered to be opened by updating the demonstration mode state value to be in an opening state;
step S406, after the demonstration mode is opened, the mobile terminal can determine whether to download a new version of the APK file to the server according to the self requirement or the server request, when the APK is confirmed to be updated, the download flag bit is modified to be downloaded, the APK is triggered to be downloaded from the APK server/the demonstration APK after the update version is downloaded, and the download flag bit is modified to be downloaded after the downloading is finished;
Step S407, the mobile terminal checks the state information of the mobile terminal and the time value of the scheduled closing demonstration mode in the verification server at intervals, when the time of the scheduled closing demonstration mode of the verification server is determined, the verification server indicates the mobile terminal to close the demonstration mode, and the verification server closes the demonstration mode of the mobile terminal through the closing state of the state value of the demonstration mode in the mobile terminal;
and step S408, after the demonstration mode is closed, outputting a prompt that the demonstration mode needs to be restored to the initial setting of the mobile terminal in the main interface.
As shown in fig. 5, an embodiment of the present invention provides a mobile terminal, which includes at least one processing unit 500 and at least one storage unit 501;
wherein the storage unit 501 stores program code that, when executed by the processing unit 500, causes the processing unit 500 to perform the following process:
responding to an instruction of opening the demonstration mode, and sending an authorization verification request carrying the mobile terminal equipment identifier to a verification server;
receiving a check result returned by the check server according to whether the check server finds the mobile terminal equipment identification in a local authorized mobile terminal equipment set;
And when the demonstration mode is determined to be opened by the indication according to the verification result, the demonstration mode is triggered to be opened by updating the state value of the demonstration mode to be in the opening state.
The processing unit is further to:
opening a demonstration mode and downloading a demonstration APK from an APK server when the demonstration APK is not installed locally; or alternatively
After the demonstration mode is opened, sending version information of a local demonstration APK to an APK server, and receiving a demonstration APK after an updated version sent after the APK server determines that the demonstration APK version is updated; or alternatively
And after the demonstration mode is opened, receiving a notification sent by the APK uploading terminal after the APK uploads the demonstration APK with the updated version to the APK server, and downloading the demonstration APK with the updated version from the APK server.
Optionally, the processing unit 500 is specifically configured to trigger downloading of the demonstration APK/the demonstration APK after the updated version from the APK server by modifying the download flag bit to be downloaded, and modify the download flag bit to be downloaded after the downloading is completed.
Optionally, the processing unit 500 is further configured to:
interacting with the verification server, and triggering to close the demonstration mode by updating the state value of the demonstration mode to be in a closing state when the verification server indicates to close the demonstration mode.
Optionally, the processing unit 500 is configured to interact with the verification server, and when determining that the verification server indicates to close the presentation mode, specifically, to:
the demonstration mode closing time set after the verification server indicates to open the demonstration mode is inquired in real time, and when the demonstration mode closing time is reached, the verification server indicates to close the demonstration mode; or
The demonstration mode state value set by the verification server after the demonstration mode is instructed to be opened is inquired in real time, and when the demonstration mode state value in the verification server is in a closed state, the verification server is determined to instruct the demonstration mode to be closed; or
When receiving a demonstration mode closing notification sent by a server when the server determines that the closing time is reached according to the demonstration mode opening time, determining that a verification server indicates to close the demonstration mode; or
And when the demonstration mode closing time or the demonstration mode state value is not found in the verification server, and when the preset time is reached after the demonstration mode is opened, determining that the verification server indicates to close the demonstration mode.
Optionally, the processing unit 500 is further configured to:
and when the demonstration mode is closed, outputting a prompt that the demonstration mode needs to be restored to the initial setting of the mobile terminal on the main interface.
Optionally, the processing unit 500 is further configured to:
and when the demonstration mode is determined to be indicated to be opened without authorization according to the verification result, keeping the state value of the demonstration mode as a closing state value, and outputting a prompt that the demonstration mode of the mobile terminal is not authorized on an interface.
Optionally, the processing unit 500 is further configured to:
and when the demonstration mode is opened or closed, feeding back the state information of the current demonstration mode to the verification server.
In addition, as shown in fig. 6, an embodiment of the present invention provides a mobile terminal including: a Radio Frequency (RF) circuit 610, a power supply 620, a processor 630, a memory 640, an input unit 650, a display unit 610, a camera 670, a communication interface 680, and a Wireless Fidelity (WiFi) module 690. Those skilled in the art will appreciate that the configuration of the terminal shown in fig. 6 is not intended to be limiting, and that the terminal provided by the embodiments of the present application may include more or less components than those shown, or some components may be combined, or a different arrangement of components may be provided.
The following describes each component of the mobile terminal 600 in detail with reference to fig. 6:
the RF circuit 610 may be used for receiving and transmitting data during a communication or conversation. Specifically, the RF circuit 610 sends downlink data of the base station to the processor 630 for processing after receiving the downlink data; and in addition, sending the uplink data to be sent to the base station. Generally, the RF circuit 610 includes, but is not limited to, an antenna, at least one Amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like.
In addition, the RF circuit 610 may also communicate with networks and other terminals through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to Global System for Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), etc.
The WiFi technology belongs to a short-distance wireless transmission technology, and the mobile terminal 600 can Access an Access Point (AP) through the WiFi module 690, thereby implementing Access to a data network. The WiFi module 690 may be used for receiving and transmitting data during communication.
The mobile terminal 600 may be physically connected to other terminals via the communication interface 680. Optionally, the communication interface 680 is connected to the communication interfaces of the other terminals through a cable, so as to implement data transmission between the mobile terminal 600 and the other terminals.
In the embodiment of the present application, the mobile terminal 600 can implement a communication service and send information to other contacts, so the mobile terminal 600 needs to have a data transmission function, that is, the mobile terminal 600 needs to include a communication module inside. Although fig. 6 illustrates communication modules such as the RF circuit 610, the WiFi module 690, and the communication interface 680, it is understood that at least one of the above components or other communication modules (e.g., bluetooth module) for implementing communication exists in the mobile terminal 600 for data transmission.
For example, when the mobile terminal 600 is a mobile phone, the mobile terminal 600 may include the RF circuit 610 and may further include the WiFi module 690; when the mobile terminal 600 is a computer, the mobile terminal 600 may include the communication interface 680 and may further include the WiFi module 690; when the mobile terminal 600 is a tablet computer, the terminal 600 may include the WiFi module.
The memory 640 may be used to store software programs and modules. The processor 630 executes various functional applications and data processing of the mobile terminal 600 by executing the software programs and modules stored in the memory 640, and may implement part or all of the processes of the embodiments of the present invention when the processor 630 executes the program codes in the memory 640.
Alternatively, the memory 640 may mainly include a program storage area and a data storage area. Wherein, the storage program area can store an operating system, various application programs (such as communication application), various modules for WLAN connection, and the like; the storage data area may store data created according to the use of the terminal, and the like.
Further, the memory 640 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The input unit 650 may be used to receive numeric or character information input by a user and generate key signal inputs related to user settings and function control of the terminal 600.
Alternatively, the input unit 650 may include a touch panel 651 and other input terminals 652.
The touch panel 651, also called a touch screen, may collect touch operations of a user (for example, operations of a user on or near the touch panel 651 by using any suitable object or accessory such as a finger or a stylus pen) and drive a corresponding connection device according to a preset program. Alternatively, the touch panel 651 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 630, and can receive and execute commands sent by the processor 630. In addition, the touch panel 651 may be implemented in various types, such as resistive, capacitive, infrared, and surface acoustic wave.
Optionally, the other input terminals 652 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 660 may be used to display information input by a user or information provided to the user and various menus of the mobile terminal 600. The display unit 660 is a display system of the mobile terminal 600, and is used for presenting an interface to implement human-computer interaction.
The display unit 660 may include a display panel 661. Alternatively, the Display panel 661 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
Further, the touch panel 651 can cover the display panel 661, and when the touch panel 651 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 630 to determine the type of touch event, and then the processor 630 provides a corresponding visual output on the display panel 661 according to the type of touch event.
Although in fig. 6, the touch panel 651 and the display panel 661 are implemented as two separate components to implement the input and output functions of the mobile terminal 600, in some embodiments, the touch panel 651 and the display panel 661 may be integrated to implement the input and output functions of the mobile terminal 600.
The processor 630 is a control center of the mobile terminal 600, connects various components using various interfaces and lines, and performs various functions of the mobile terminal 600 and processes data by operating or executing software programs and/or modules stored in the memory 640 and calling data stored in the memory 640, thereby implementing various services based on the terminal.
Optionally, the processor 630 may include one or more processing units. Optionally, the processor 630 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, an application program, and the like, and the modem processor mainly processes wireless communication. It will be appreciated that the modem processor described above may not be integrated into the processor 630.
The camera 670 is configured to implement a shooting function of the mobile terminal 600, and shoot pictures or videos.
The mobile terminal 600 also includes a power supply 620, such as a battery, for powering the various components. Optionally, the power supply 620 may be logically connected to the processor 630 through a power management system, so as to implement functions of managing charging, discharging, power consumption, and the like through the power management system.
Although not shown, the mobile terminal 600 may further include at least one sensor, an audio circuit, and the like, which are not described in detail herein.
The embodiment of the invention provides a verification server, which is used for:
receiving an authorization verification request which is sent by a mobile terminal and carries a mobile terminal device identifier;
and judging whether the mobile terminal equipment identification is found in a local authorized mobile terminal equipment set or not according to the mobile terminal equipment identification in the received authorization verification request, and sending a verification result to the mobile terminal.
An embodiment of the present invention provides a computer medium, where the computer readable storage medium stores computer instructions, and the computer instructions, when executed by a processor, implement the method for switching the demo mode described above.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (7)

1. A mobile terminal comprising at least one processing unit and at least one memory unit;
wherein the storage unit stores program code that, when executed by the processing unit, causes the processing unit to perform the following:
responding to an instruction of opening the demonstration mode, and sending an authorization verification request carrying the mobile terminal equipment identifier to a verification server;
Receiving whether the check server finds a check result returned by the mobile terminal equipment identification according to the local authorized mobile terminal equipment set;
when the demonstration mode is determined to be authorized to be opened according to the verification result, the demonstration mode is triggered to be opened by updating the state value of the demonstration mode to be in an opening state;
interacting with the verification server, and triggering to close the demonstration mode by updating the state value of the demonstration mode to be in a closing state when the verification server indicates to close the demonstration mode;
after the demonstration mode is opened, receiving a notification sent by an APK uploading terminal after uploading a demonstration APK with an updated version to an APK server, and downloading the demonstration APK with the updated version from the APK server;
interacting with the verification server, and determining that the verification server indicates to close the demonstration mode comprises the following steps:
the demonstration mode closing time set after the verification server indicates to open the demonstration mode is inquired in real time, and when the demonstration mode closing time is reached, the verification server indicates to close the demonstration mode;
the manner of triggering the instruction of opening the demonstration mode includes but is not limited to: setting a demonstration mode icon in a status bar of the mobile terminal, triggering the demonstration mode icon, and triggering by inputting a password for opening the demonstration mode through opening an interface in the demonstration mode;
When factory settings are restored or the flash is taken over, the state values are unchanged.
2. The mobile terminal according to claim 1, wherein the processing unit is specifically configured to trigger downloading of the presentation APK/the presentation APK after the updated version from the APK server by modifying the download flag bit to be downloaded, and modify the download flag bit to be downloaded after the downloading is completed.
3. The mobile terminal according to claim 1, wherein the processing unit is further configured to interact with the verification server, and when determining that the verification server indicates to close the presentation mode, the processing unit is further specifically configured to:
the demonstration mode state value set by the verification server after the demonstration mode is instructed to be opened is inquired in real time, and when the demonstration mode state value in the verification server is in a closed state, the verification server is determined to instruct the demonstration mode to be closed; or
And when receiving a demonstration mode closing notification sent by the server when the server determines that the closing time is reached according to the demonstration mode opening time, determining that the verification server indicates to close the demonstration mode.
4. The mobile terminal of claim 3, wherein the processing unit is further configured to:
and when the demonstration mode is closed, outputting a prompt that the demonstration mode needs to be restored to the initial setting of the mobile terminal on the main interface.
5. The mobile terminal of claim 1, wherein the processing unit is further configured to:
and when the demonstration mode is determined to be indicated to be opened without authorization according to the verification result, keeping the state value of the demonstration mode as a closing state value, and outputting a prompt that the demonstration mode of the mobile terminal is not authorized on an interface.
6. A method of switching between presentation engine modes, the method comprising:
responding to an instruction of opening the demonstration mode, and sending an authorization verification request carrying the mobile terminal equipment identifier to a verification server;
receiving whether the check server finds a check result returned by the mobile terminal equipment identification according to the local authorized mobile terminal equipment set;
when the demonstration mode is determined to be authorized to be opened according to the verification result, the demonstration mode is triggered to be opened by updating the state value of the demonstration mode to be in an opening state;
interacting with the verification server, and triggering to close the demonstration mode by updating the state value of the demonstration mode to be in a closing state when the verification server indicates to close the demonstration mode;
after the demonstration mode is opened, receiving a notification sent by an APK uploading terminal after uploading a demonstration APK with an updated version to an APK server, and downloading the demonstration APK with the updated version from the APK server;
Interacting with the verification server, and when determining that the verification server indicates to close the demonstration mode, the method comprises the following steps:
the demonstration mode closing time set after the verification server indicates to open the demonstration mode is inquired in real time, and when the demonstration mode closing time is reached, the verification server indicates to close the demonstration mode
The manner of triggering the instruction of opening the demonstration mode includes but is not limited to: setting a demonstration mode icon in a status bar of the mobile terminal, triggering the demonstration mode icon, and triggering by inputting a password for opening the demonstration mode through opening an interface in the demonstration mode;
when factory settings are restored or the flash is performed, the state values are unchanged.
7. A computer medium, characterized in that the computer-readable storage medium stores computer instructions which, when executed by a processor, implement the method of switching demo modes according to claim 6.
CN201911133917.8A 2019-11-19 2019-11-19 Mobile terminal, method for switching demonstration machine modes and computer medium Active CN112911061B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911133917.8A CN112911061B (en) 2019-11-19 2019-11-19 Mobile terminal, method for switching demonstration machine modes and computer medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911133917.8A CN112911061B (en) 2019-11-19 2019-11-19 Mobile terminal, method for switching demonstration machine modes and computer medium

Publications (2)

Publication Number Publication Date
CN112911061A CN112911061A (en) 2021-06-04
CN112911061B true CN112911061B (en) 2022-06-10

Family

ID=76103376

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911133917.8A Active CN112911061B (en) 2019-11-19 2019-11-19 Mobile terminal, method for switching demonstration machine modes and computer medium

Country Status (1)

Country Link
CN (1) CN112911061B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8566718B1 (en) * 2010-12-10 2013-10-22 Google Inc. Live demonstration of computing device applications
US9940656B1 (en) * 2013-09-25 2018-04-10 Amazon Technologies, Inc. Smart demonstration device
CN110286922A (en) * 2019-05-22 2019-09-27 深圳壹账通智能科技有限公司 Using downloading updating method, device, computer equipment and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090037522A1 (en) * 2007-08-02 2009-02-05 Sony Corporation System and Method for Simulating Network Functionality for Demonstration Devices
US9312570B2 (en) * 2014-06-13 2016-04-12 Verizon Patent And Licensing Inc. Allowing a computing device to operate in a demo mode and a consumer mode
CN104363264B (en) * 2014-10-22 2017-10-03 北京棱镜云桥科技有限公司 The SDK access systems by all kinds of means of mobile terminal software

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8566718B1 (en) * 2010-12-10 2013-10-22 Google Inc. Live demonstration of computing device applications
US9940656B1 (en) * 2013-09-25 2018-04-10 Amazon Technologies, Inc. Smart demonstration device
CN110286922A (en) * 2019-05-22 2019-09-27 深圳壹账通智能科技有限公司 Using downloading updating method, device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN112911061A (en) 2021-06-04

Similar Documents

Publication Publication Date Title
CN110225487B (en) Profile generating and acquiring method, related equipment and storage medium
CN109391648B (en) Method and device for associating application with network slice and communication system
US7461373B2 (en) Apparatus and method for upgrading software of a wireless mobile station
US9906969B2 (en) Remote diagnostics for mobile devices
CN110401687B (en) Configuration file transmission method, related equipment and storage medium
US20040152455A1 (en) System and method for delta-based over-the-air software upgrades for a wireless mobile station
CN106465249B (en) Roaming network access method and device
CN104965721A (en) Method and apparatus for updating an application
US20170353593A1 (en) Communication event processing method and apparatus
CN108255683B (en) Method for prompting message in terminal and terminal
CN106713608B (en) Application function state modification method and device and terminal
CN105320882A (en) Method and device for controlling permission of application programs
CN108834132A (en) A kind of data transmission method and equipment and related media production
CN103916846A (en) Terminal application updating method, system and device
CN112579264A (en) Application program jumping method, terminal and computer storage medium
CN106850957B (en) Application notification management method and device and mobile terminal
CN106331302A (en) Method and equipment for adding contact
CN112911061B (en) Mobile terminal, method for switching demonstration machine modes and computer medium
CN112543493A (en) Wifi connection method, terminal and computer storage medium
CN106445594B (en) System application installation method and device and terminal equipment
CN110706705A (en) Voice control method, terminal and computer storage medium
CN107734492B (en) Information processing method, device, mobile terminal and computer readable storage medium
CN112463199A (en) System upgrading method and terminal
CN105700895B (en) The adaptation method and terminal and system server of a kind of terminal system
CN107454584A (en) Obtain the method and system of configuration information

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 266071 Shandong city of Qingdao province Jiangxi City Road No. 11

Patentee after: Qingdao Hisense Mobile Communication Technology Co.,Ltd.

Address before: 266071 Shandong city of Qingdao province Jiangxi City Road No. 11

Patentee before: HISENSE MOBILE COMMUNICATIONS TECHNOLOGY Co.,Ltd.