CN112433613A - Method, system, electronic device and medium for starting function - Google Patents

Method, system, electronic device and medium for starting function Download PDF

Info

Publication number
CN112433613A
CN112433613A CN202011337935.0A CN202011337935A CN112433613A CN 112433613 A CN112433613 A CN 112433613A CN 202011337935 A CN202011337935 A CN 202011337935A CN 112433613 A CN112433613 A CN 112433613A
Authority
CN
China
Prior art keywords
target terminal
state
function
user
terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011337935.0A
Other languages
Chinese (zh)
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.)
Ping An Puhui Enterprise Management Co Ltd
Original Assignee
Ping An Puhui Enterprise Management 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 Ping An Puhui Enterprise Management Co Ltd filed Critical Ping An Puhui Enterprise Management Co Ltd
Priority to CN202011337935.0A priority Critical patent/CN112433613A/en
Publication of CN112433613A publication Critical patent/CN112433613A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Telephone Function (AREA)

Abstract

The application discloses a method, a system, an electronic device and a medium for starting functions. According to the method and the device, the state parameters of the target terminal, including the displacement parameters and the placement angle parameters, can be detected, and when the target terminal is determined to reach the first state according to the displacement parameters and/or the placement angle parameters of the target terminal, the first function identification corresponding to the first state is obtained, so that the function corresponding to the first function identification in the target terminal is started. By applying the technical scheme of the application, the function which needs to be started for the user at present can be dynamically determined according to the current constantly-changing moving state and the placing angle of the terminal, so that the function can be automatically started for the user. The problem of long waiting time caused by the fact that a user can realize the use purpose only by manually starting the function in the prior art is solved.

Description

Method, system, electronic device and medium for starting function
Technical Field
The present application relates to communications technologies, and in particular, to a method, a system, an electronic device, and a medium for starting a function.
Background
Due to the rise of the communication age and society, intelligent terminals have been continuously developed along with the use of more and more users.
Furthermore, with the development of computer technology, the functions of the intelligent terminal are gradually enriched, and in the using process of the intelligent terminal, a user can use various functions in the terminal equipment to meet the requirements of daily life and work. In the related art, when a user wants to use a certain function, the user often needs to unlock the terminal device first and then manually start the function to use the terminal device. It will be appreciated that the operation time of the flow is longer, resulting in a longer waiting time for the user to use the function.
Disclosure of Invention
Embodiments of the present application provide a method, a system, an electronic device, and a medium for starting a function, which are used to solve the problem in the related art that a waiting time is long because a user can only manually start a certain function.
According to an aspect of an embodiment of the present application, there is provided a method for starting a function, including:
detecting state parameters of a target terminal, wherein the state parameters comprise at least one of displacement parameters and placement angle parameters, the displacement parameters correspond to at least one of the moving speed and the position of the target terminal, and the placement angle parameters correspond to the included angle between the target terminal and a horizontal plane;
when the target terminal is determined to reach a first state according to the displacement parameter and/or the placement angle parameter of the target terminal, acquiring a first function identifier corresponding to the first state;
and starting the function corresponding to the first function identifier in the target terminal.
Optionally, in another embodiment based on the foregoing method of the present application, determining that the target terminal reaches the first state according to the displacement parameter of the target terminal includes:
determining the current geographic area information of the target terminal according to the displacement parameter of the target terminal, and determining whether the target terminal is in a working state or not according to the matching relation between the current geographic area information and preset category area information;
when the target terminal is determined to be in the working state, acquiring an office function identifier corresponding to the working state;
and when the target terminal is determined to be in a non-working state, acquiring a first leisure function identifier corresponding to the non-working state.
Optionally, in another embodiment based on the foregoing method of the present application, the determining that the target terminal reaches the first state according to the displacement parameter of the target terminal includes:
determining the moving rate of the target terminal in a first time period according to the displacement parameter of the target terminal, and determining whether the target terminal is in a motion state or not according to the matching relation between the moving rate and a preset rate interval;
when the target terminal is determined to be in the motion state, obtaining a motion function identifier corresponding to the motion state;
and when the target terminal is determined to be in the non-motion state, acquiring a second leisure function identifier corresponding to the non-motion state.
Optionally, in another embodiment based on the foregoing method of the present application, the determining that the target terminal reaches the first state according to the placement angle parameter of the target terminal includes:
determining an included angle between the target terminal and a horizontal plane according to the placement angle parameter of the target terminal, and determining whether the target terminal is in an upcoming use state of a user according to the matching relation between the included angle and a preset angle space;
and when the target terminal is determined to be in the user to-be-used state, acquiring target time period information, and acquiring a second function identifier corresponding to the user to-be-used state based on the current time information.
Optionally, in another embodiment based on the foregoing method of the present application, the determining whether the target terminal is in an upcoming use state of the user according to a matching relationship between the included angle and a preset angle space includes:
when detecting that the included angle between the target terminal and the horizontal plane is within a preset time period, the change amplitude is larger than a first angle range, and the included angle between the target terminal and the horizontal plane is larger than a second angle, determining that the target terminal is in an upcoming use state of a user;
and when the included angle between the target terminal and the horizontal plane is detected to be within a preset time period, the change amplitude is larger than a second angle range, and the included angle between the target terminal and the horizontal plane is smaller than the second angle, the target terminal is determined to be in a user use finish state.
Optionally, in another embodiment based on the foregoing method of the present application, after the determining that the target terminal is an upcoming use state of a user, the method further includes:
acquiring the target time period information, and determining whether the current time period is a work attendance time period; if yes, starting a function corresponding to the application program function identifier signed in the target terminal.
Optionally, in another embodiment based on the foregoing method of the present application, after determining that the target terminal is in a user use-finished state, the method further includes:
acquiring the target time period information and determining whether the current time period is a work completion time period;
if yes, monitoring task completion information to be handled set in the target terminal by the user, and starting a function used for sending the task completion information to be handled to the user in the target terminal.
According to an aspect of the embodiments of the present application, there is provided an apparatus for starting a function, including:
the detection module is configured to detect state parameters of a target terminal, wherein the state parameters comprise at least one of displacement parameters and placement angle parameters, the displacement parameters correspond to at least one of the movement rate and the position of the target terminal, and the placement angle parameters correspond to the included angle between the target terminal and a horizontal plane;
the determining module is configured to acquire a first function identifier corresponding to a first state when the target terminal is determined to reach the first state according to the displacement parameter and/or the placement angle parameter of the target terminal;
and the starting module is configured to start the function corresponding to the first function identifier in the target terminal.
According to another aspect of the embodiments of the present application, there is provided an electronic device including:
a memory for storing executable instructions; and
a display for displaying with the memory to execute the executable instructions to perform the operations of any of the above-described methods of initiating a function.
According to yet another aspect of the embodiments of the present application, a computer-readable storage medium is provided for storing computer-readable instructions, which when executed perform the operations of any of the above-mentioned methods for initiating a function.
According to the method and the device, the state parameters of the target terminal, including the displacement parameters and the placement angle parameters, can be detected, and according to the displacement parameters and/or the placement angle parameters of the target terminal, when the target terminal is determined to reach the first state, the first function identification corresponding to the first state is obtained, and therefore the function corresponding to the first function identification in the target terminal is started. By applying the technical scheme of the application, the function which needs to be started for the user at present can be dynamically determined according to the current constantly-changing moving state and the placing angle of the terminal, so that the function can be automatically started for the user. The problem of long waiting time caused by the fact that a user can realize the use purpose only by manually starting the function in the prior art is solved.
The technical solution of the present application is further described in detail by the accompanying drawings and examples.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the application and together with the description, serve to explain the principles of the application.
The present application may be more clearly understood from the following detailed description with reference to the accompanying drawings, in which:
FIG. 1 is a system architecture diagram of a boot function proposed in the present application;
FIG. 2 is a schematic diagram of a method for initiating a function according to the present application;
FIG. 3 is a schematic flow chart illustrating a start-up function proposed in the present application;
FIG. 4 is a diagram of an electronic device for activating a function according to the present application;
fig. 5 is a schematic view of an electronic device according to the present application.
Detailed Description
Various exemplary embodiments of the present application will now be described in detail with reference to the accompanying drawings. It should be noted that: the relative arrangement of the components and steps, the numerical expressions, and numerical values set forth in these embodiments do not limit the scope of the present application unless specifically stated otherwise.
Meanwhile, it should be understood that the sizes of the respective portions shown in the drawings are not drawn in an actual proportional relationship for the convenience of description.
The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the application, its application, or uses.
Techniques, methods, and apparatus known to those of ordinary skill in the relevant art may not be discussed in detail but are intended to be part of the specification where appropriate.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, further discussion thereof is not required in subsequent figures.
In addition, technical solutions between the various embodiments of the present application may be combined with each other, but it must be based on the realization of the technical solutions by a person skilled in the art, and when the technical solutions are contradictory or cannot be realized, such a combination of technical solutions should be considered to be absent and not within the protection scope of the present application.
It should be noted that all the directional indicators (such as upper, lower, left, right, front and rear … …) in the embodiment of the present application are only used to explain the relative position relationship between the components, the motion situation, etc. in a specific posture (as shown in the drawings), and if the specific posture is changed, the directional indicator is changed accordingly.
A method for performing a boot function according to an exemplary embodiment of the present application is described below in conjunction with fig. 1-3. It should be noted that the following application scenarios are merely illustrated for the convenience of understanding the spirit and principles of the present application, and the embodiments of the present application are not limited in this respect. Rather, embodiments of the present application may be applied to any scenario where applicable.
Fig. 1 shows a schematic diagram of an exemplary system architecture 100 to which the method of initiating functionality of embodiments of the present application may be applied.
As shown in fig. 1, system architecture 100 may include one or more of a terminal device 101, a server 102, a server 103, a network 104, and a server 105. The network 104 serves as a medium for providing communication links between the terminal device 101 and a plurality of servers 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
It should be understood that the number of terminal devices, networks, and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation. For example, server 105 may be a server cluster comprised of multiple servers, or the like.
A user may interact with server 102, server 103, server 105 over network 104 using terminal device 101 to receive or send messages, etc. The terminal device 101 may be various electronic devices having a display screen, including but not limited to a smart phone, a tablet computer, a portable computer, a desktop computer, and the like.
The terminal apparatus 101 in the present application may be a terminal apparatus that provides various services. For example, the user realizes via the terminal device 101: detecting state parameters of a target terminal, wherein the state parameters comprise at least one of displacement parameters and placement angle parameters, the displacement parameters correspond to at least one of the moving speed and the position of the target terminal, and the placement angle parameters correspond to the included angle between the target terminal and a horizontal plane; when the target terminal is determined to reach a first state according to the displacement parameter and/or the placement angle parameter of the target terminal, acquiring a first function identifier corresponding to the first state; and starting the function corresponding to the first function identifier in the target terminal.
The application also provides a method, a system, equipment and a medium for starting the function.
Fig. 2 schematically shows a flow diagram of a method of initiating a function according to an embodiment of the present application. As shown in fig. 2, the method includes:
s101, detecting state parameters of the target terminal, wherein the state parameters comprise at least one of displacement parameters and placement angle parameters, the displacement parameters correspond to at least one of the moving speed and the position of the target terminal, and the placement angle parameters correspond to the included angle between the target terminal and the horizontal plane.
Further, with the development of communication and society, intelligent electronic terminals have been widely developed along with the use of more and more people. In order to satisfy various requirements of terminal users, functions corresponding to various types of applications are also continuously developed along with the development of intelligent electronic terminals.
Generally, a user's electronic terminal stores a plurality of applications having different functions, such as an application having a navigation function, a communication application having a call function, an application having a learning function, an information application having a news browsing function, and the like. After the user downloads the application which the user is interested in, the icon of the application program can be displayed at the last position of the terminal screen, and then the user enters the application and starts to use the corresponding function by clicking the icon of the application program on the terminal screen. However, when there are multiple applications in the user's electronic terminal, the user may need to slide multiple pages on the terminal screen to find an application and use a function when the user wants to use the function. Such operation not only consumes the operation time of the user, but also reduces the user experience.
In order to solve the above technical problem, in the embodiment of the present application, a scheme for automatically starting a corresponding function for a user according to different states of a terminal may be selected. For example, the state parameter of the target terminal may be monitored in real time or periodically. The state parameter in the present application may include a displacement parameter for expressing at least one of a moving speed and a position of the terminal, and a placement angle parameter for expressing an angle between the terminal and a horizontal plane.
Furthermore, the moving rate in the present application may be a rate achieved when the user carries the mobile terminal. For example, when the user runs with the mobile terminal, the mobile terminal may have a velocity of 5 KM/h. And when the user walks with the mobile terminal, the speed of the mobile terminal can be 2 KM/h. In addition, the position of the mobile terminal can be a geographical area where the user carries the mobile terminal. For example, the user may be at home, at an office, in a scenic spot, etc.
Furthermore, the placing angle parameter in the application can represent the current placing state of the terminal when the user carries the mobile terminal. For example, when the user places the terminal on a desktop, the angle between the terminal and the horizontal plane is between +5 degrees and-5 degrees, and when the user lifts the terminal for use, the angle between the terminal and the horizontal plane is between 80 degrees and 100 degrees, and the like.
S102, determining the Cookie, decrypting the Cookie, and obtaining the address parameter and the authority parameter corresponding to the client.
Furthermore, the corresponding state of the terminal can be determined according to the detected displacement parameter and the placement angle parameter of the target terminal, so that different function identifiers for starting corresponding functions can be selected according to different states.
For example, the example is performed by taking the displacement parameter as the geographic area where the terminal is located, after determining the geographic area information where the target terminal is located according to the displacement parameter of the target terminal, it may be further determined whether the geographic area information where the target terminal is located is the office area position of the user, if so, it is determined that the target terminal is in the working state, and further, an office function identifier corresponding to the working state may be obtained (for example, an application program corresponding to a mail, an application program corresponding to a card punching, an application program corresponding to a formula image editing, and the like). If not, the target terminal is determined to be in a non-working state, and further the entertainment function identifier corresponding to the leisure state can be obtained (for example, an application program for playing videos, an application program for playing music, an application program for ordering to take out, and the like).
Or, for example, the displacement parameter is used to express a moving rate of the terminal, and after determining the moving rate of the target terminal in the first time period according to the displacement parameter of the target terminal and determining that the target terminal is currently in a motion state according to a matching relationship between the moving rate and a preset rate interval, a motion function identifier corresponding to the motion state may be obtained (for example, an application program of a heart rate detection function, an application program of a step count function, an application program of a music playing function, and the like).
S103, determining that the client is legal based on the address parameter and the authority parameter, and forwarding the first service packet to a corresponding service object.
After detecting the state parameters of the target terminal, which are used for reflecting the moving speed, the position of the target terminal and the included angle between the target terminal and the horizontal plane, the method and the device can obtain the first function identification corresponding to the first state and start the function corresponding to the first function identification in the target terminal when determining that the target terminal reaches the first state according to the displacement parameters and the placement angle parameters of the target terminal. Furthermore, the scheme can automatically start the corresponding function scheme for the user according to different states of the terminal. Therefore, the defect that the function can be used only by carrying out complicated operation on a terminal screen when a user uses a specific function is avoided, and the operation time of the user is further saved.
According to the method and the device, the state parameters of the target terminal, including the displacement parameters and the placement angle parameters, can be detected, and according to the displacement parameters and/or the placement angle parameters of the target terminal, when the target terminal is determined to reach the first state, the first function identification corresponding to the first state is obtained, and therefore the function corresponding to the first function identification in the target terminal is started. By applying the technical scheme of the application, the function which needs to be started for the user at present can be dynamically determined according to the current constantly-changing moving state and the placing angle of the terminal, so that the function can be automatically started for the user. The problem of long waiting time caused by the fact that a user can realize the use purpose only by manually starting the function in the prior art is solved.
Optionally, in a possible implementation manner of the present application, in the process of S103 (determining that the target terminal reaches the first state according to the displacement parameter of the target terminal), the following two manners may be used to obtain:
the first mode is as follows:
determining the current geographic area information of the target terminal according to the displacement parameters of the target terminal, and determining whether the target terminal is in a working state or not according to the matching relationship between the current geographic area information and the preset category area information;
when the target terminal is determined to be in a working state, acquiring an office function identifier corresponding to the working state;
and when the target terminal is determined to be in the non-working state, acquiring a first leisure function identifier corresponding to the non-working state.
Further, when the current state of the terminal is determined, the current state can be determined according to the geographical area where the terminal is located. For example, when the terminal is determined to be located at home according to the geographic area, the functions of games, music, videos and the like can be started for the terminal. And according to the geographic region, when the terminal is determined to be located in the company, the office software function can be started for the terminal. Or according to the geographical area, when the terminal is determined to be located on the highway, the functions of music, navigation, weather forecast and the like can be started for the terminal. Therefore, the purpose of actively starting the corresponding functions for the user according to different positions of the terminal is achieved.
Specifically, for example, the current geographic area of the terminal may be determined in real time by monitoring the displacement parameter of the terminal in real time. And determining the current state of the terminal according to a plurality of pre-stored geographical areas corresponding to different categories.
It can be understood that, in one mode, when it is detected that the geographic area where the terminal is currently located is located in the company, it may be determined that the terminal currently belongs to the working state, so as to further obtain the office function identifier stored in the terminal and corresponding to the working state. For example, an application having a card punching function, an email application, a video production application, or the like may be used.
In another mode, for example, when it is detected that the geographic area where the terminal is currently located is located in the park, it may be determined that the terminal currently belongs to the non-operating state, so as to further obtain the identifier of the leisure function corresponding to the non-operating state and stored in the terminal. For example, an application program having a function of playing music, an application program having a function of playing video, or the like.
The second mode is as follows:
determining the moving rate of the target terminal in a first time period according to the displacement parameter of the target terminal, and determining whether the target terminal is in a motion state or not according to the matching relation between the moving rate and a preset rate interval;
when the target terminal is determined to be in a motion state, obtaining a motion function identification corresponding to the motion state;
and when the target terminal is determined to be in the non-motion state, acquiring a second leisure function identifier corresponding to the non-motion state.
Optionally, when determining the current state of the terminal, the present application may determine whether the terminal is in the motion process according to the current displacement rate of the terminal. For example, when the mobile terminal is still, it can be determined as a non-moving process, so that the function of playing video and audio, the function of office software, etc. can be selected for the mobile terminal. And the displacement rate is determined as the time in motion (for example, the moving speed is between 2km/h and 10 km/h), so that the heart rate detection function, the step count function, the music playing function and the like can be selectively started. Therefore, the purpose of initiatively starting the corresponding function for the user according to different states of the user is achieved.
Furthermore, the current moving speed of the terminal can be determined in real time by monitoring the displacement parameters of the terminal in real time. And determining the current state of the terminal according to the matching relation between the pre-stored preset rate and the current certain rate.
It can be understood that, in one mode, when it is detected that the current moving speed of the terminal reaches 0km/h, it may be determined that the terminal currently belongs to the non-moving state, so as to further obtain the identifier of the leisure function corresponding to the non-moving state and stored in the terminal. Such as an application with information or an application that plays video, etc.
In another mode, when it is detected that the current moving speed of the terminal reaches 10km/h, it may be determined that the terminal currently belongs to a motion state (e.g., running, cycling, etc.), so as to further obtain a leisure function identifier stored in the terminal and corresponding to the motion state. Such as applications that play music or applications that detect heart rate functions, etc.
The first period is not particularly limited, and may be, for example, 1 hour, 1 minute, or the like.
Optionally, in a possible implementation manner of the present application, in the process of S103 (determining that the target terminal reaches the first state according to the displacement parameter of the target terminal), the following steps may be performed:
determining an included angle between the target terminal and a horizontal plane according to the placement angle parameter of the target terminal, and determining whether the target terminal is in an upcoming use state of a user according to the matching relation between the included angle and a preset angle space;
and when the target terminal is determined to be in the state to be used by the user, acquiring target time period information, and acquiring a second function identifier corresponding to the state to be used by the user based on the current time information.
Further, in a mode of the present application, it may be determined whether the mobile phone is in a state to be used by the user according to an included angle between the terminal and a horizontal plane. It can be understood that, if the mobile phone is in a state to be used by the user, the corresponding function can be automatically started for the user according to the current time point.
The placing angle parameter in the application can represent the current placing state of the terminal when the user carries the mobile terminal. For example, when the user places the terminal on a desktop, the angle between the terminal and the horizontal plane is between +5 degrees and-5 degrees, and when the user lifts the terminal for use, the angle between the terminal and the horizontal plane is between 80 degrees and 100 degrees, and the like.
Optionally, the application determines whether the target terminal is in an upcoming use state of the user according to a matching relationship between the included angle and the preset angle space, and the determination can be performed through the following steps:
when detecting that the included angle between the target terminal and the horizontal plane is within a preset time period, the change amplitude is larger than a first angle range, and the included angle between the current target terminal and the horizontal plane is larger than a second angle, determining that the target terminal is in an upcoming use state of a user;
and when the change amplitude is larger than a second angle range and the current included angle between the target terminal and the horizontal plane is smaller than the second angle within a preset time period, determining that the target terminal is in a user use finish state.
For example, when the mobile phone is in an unused state and is picked up by a user to be used (for example, when the user picks up the mobile phone from a desk or takes out the mobile phone from a bag), it is inevitable that the change range of the angle between the target terminal and the horizontal plane is larger than a certain angle range within a preset time period, and when the user uses the mobile phone, the angle between the mobile phone and the horizontal plane is also larger than a certain angle. Therefore, when it is detected that the range is satisfied, the mobile phone is considered to be about to be used by the user, and the terminal is determined to be in the about-to-use state of the user.
Similarly, when the user uses the mobile phone to rest, the change range of the included angle between the target terminal and the horizontal plane is larger than a certain angle range, and when the user puts down the mobile phone, the included angle between the mobile phone and the horizontal plane is smaller than a certain angle (for example, the mobile phone is put on a table). Therefore, when the mobile phone is detected to meet the range, the mobile phone is considered to be used by the user, and the terminal is determined to be in the user use completion state.
Further optionally, after determining that the target terminal is an upcoming use state of the user, the method further includes:
acquiring target time period information and determining whether the current time period is a work attendance time period; and if so, starting the function corresponding to the sign-in application program function identifier in the target terminal.
Further, if it is detected that the current time period is the work check-in time (e.g. 9 am or 5 pm), and when it is determined that the target terminal is the user's upcoming use state. The user can be judged to use the terminal to perform the steps of card punching and sign-in. Therefore, in order to save the operation time of the user, the function corresponding to the application program function identifier signed in the target terminal can be directly started.
Still further optionally, after determining that the target terminal is in the user use-completed state, the method further includes:
acquiring target time period information and determining whether the current time period is a work completion time period;
if yes, monitoring task completion information to be handled set in the target terminal by the user, and starting a function used for sending the task completion information to be handled to the user in the target terminal.
Similarly, if the current time period is detected to be the working completion time (e.g. 5 o ' clock-12 o ' clock in the evening), and when the target terminal is determined to be the user's upcoming use state. The task completion information to be handled today set in the target terminal by the user can be judged, and the function of the target terminal for sending the task completion information to be handled to the user is started.
Further, as shown in fig. 3, for a flowchart of a method for starting a function provided by the present application, first, the present application may detect a state parameter of a target terminal, where the state parameter includes at least one of a displacement parameter and a placement angle parameter, the displacement parameter corresponds to at least one of a moving rate and a location of the target terminal, and the placement angle parameter corresponds to an included angle between the target terminal and a horizontal plane.
In one mode, the geographical area information where the target terminal is currently located may be determined according to the displacement parameter of the target terminal, and whether the target terminal is in a working state is determined according to the matching relationship between the current geographical area information and the preset category area information. And when the target terminal is determined to be in the working state, acquiring an office function identifier corresponding to the working state, and if the target terminal is determined to be in the non-working state, acquiring a first leisure function identifier corresponding to the non-working state. When the moving speed of the target terminal in a first time period is determined according to the displacement parameters of the target terminal, namely the target terminal is determined to be in a moving state, the moving function identification corresponding to the moving state is obtained, and when the target terminal is determined to be in a non-moving state, the second leisure function identification corresponding to the non-moving state is obtained.
Furthermore, the method and the device for determining the target terminal included angle of the target terminal and the horizontal plane can further determine the included angle of the target terminal and the horizontal plane according to the placement angle parameter of the target terminal, determine whether the target terminal is in the state to be used by the user according to the matching relation between the included angle and the preset angle space, if so, obtain target time period information, and obtain a second function identifier corresponding to the state to be used by the user based on the current time information. If the change range is larger than the second angle range and the angle between the current target terminal and the horizontal plane is smaller than the second angle range when the angle between the target terminal and the horizontal plane is detected within the preset time period, the target terminal is determined to be in a user use finish state, and if the work sign-in time period is adopted, the function corresponding to the application program function identification signed in the target terminal can be started.
In another embodiment of the present application, as shown in fig. 4, the present application further provides a means for activating the function. Wherein the device comprises a detection module 201, a determination module 202 and an activation module 203, wherein,
the detection module 201 is configured to detect a state parameter of a target terminal, where the state parameter includes at least one of a displacement parameter and a placement angle parameter, the displacement parameter corresponds to at least one of a movement rate and a location of the target terminal, and the placement angle parameter corresponds to an included angle between the target terminal and a horizontal plane;
a determining module 202, configured to obtain a first function identifier corresponding to a first state when it is determined that the target terminal reaches the first state according to the displacement parameter and/or the placement angle parameter of the target terminal;
a starting module 203 configured to start a function corresponding to the first function identifier in the target terminal.
According to the method and the device, the state parameters of the target terminal, including the displacement parameters and the placement angle parameters, can be detected, and according to the displacement parameters and/or the placement angle parameters of the target terminal, when the target terminal is determined to reach the first state, the first function identification corresponding to the first state is obtained, and therefore the function corresponding to the first function identification in the target terminal is started. By applying the technical scheme of the application, the function which needs to be started for the user at present can be dynamically determined according to the current constantly-changing moving state and the placing angle of the terminal, so that the function can be automatically started for the user. The problem of long waiting time caused by the fact that a user can realize the use purpose only by manually starting the function in the prior art is solved.
Optionally, in another embodiment of the present application, the detecting module 201 further includes:
the detection module 201 is configured to determine, according to the displacement parameter of the target terminal, geographic area information where the target terminal is currently located, and determine, according to a matching relationship between the current geographic area information and preset category area information, whether the target terminal is in a working state;
the detection module 201 is configured to, when it is determined that the target terminal is in the working state, obtain an office function identifier corresponding to the working state;
the detection module 201 is configured to, when it is determined that the target terminal is in a non-working state, obtain a first leisure function identifier corresponding to the non-working state.
Optionally, in another embodiment of the present application, the detecting module 201 further includes:
the detection module 201 is configured to determine a moving rate of the target terminal within a first time period according to the displacement parameter of the target terminal, and determine whether the target terminal is in a motion state according to a matching relationship between the moving rate and a preset rate interval;
the detection module 201 is configured to, when it is determined that the target terminal is in the motion state, obtain a motion class function identifier corresponding to the motion state;
the detection module 201 is configured to, when it is determined that the target terminal is in a non-motion state, obtain a second leisure function identifier corresponding to the non-motion state.
Optionally, in another embodiment of the present application, the detecting module 201 further includes:
the detection module 201 is configured to determine an included angle between the target terminal and a horizontal plane according to the placement angle parameter of the target terminal, and determine whether the target terminal is in an upcoming use state of a user according to a matching relationship between the included angle and a preset angle space;
the detection module 201 is configured to, when it is determined that the target terminal is in the user upcoming use state, obtain target time period information, and obtain a second function identifier corresponding to the user upcoming use state based on the current time information.
Optionally, in another embodiment of the present application, the detecting module 201 further includes:
the detection module 201 is configured to determine that the target terminal is in an upcoming use state of a user when it is detected that an included angle between the target terminal and a horizontal plane is within a preset time period, a change amplitude is larger than a first angle range, and the included angle between the target terminal and the horizontal plane is larger than a second angle;
the detection module 201 is configured to determine that the target terminal is in a user end state when it is detected that the angle between the target terminal and the horizontal plane is within a preset time period, the change range is greater than a second angle range, and the angle between the target terminal and the horizontal plane is smaller than the second angle.
Optionally, in another embodiment of the present application, the detecting module 201 further includes:
the detection module 201 is configured to acquire the target time period information and determine whether the current time period is a work attendance time period; if yes, starting a function corresponding to the application program function identifier signed in the target terminal.
Optionally, in another embodiment of the present application, the detecting module 201 further includes:
the detection module 201 is configured to acquire the target time period information and determine whether the current time period is a work completion time period;
if yes, the detection module 201 is configured to monitor task completion information to be handled set in the target terminal by the user, and start a function of the target terminal for sending the task completion information to be handled to the user.
Fig. 5 is a block diagram illustrating a logical structure of an electronic device in accordance with an exemplary embodiment. For example, the electronic device 300 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
In an exemplary embodiment, there is also provided a non-transitory computer readable storage medium, such as a memory, including instructions executable by an electronic device processor to perform the method of network monitoring described above, the method comprising: detecting state parameters of a target terminal, wherein the state parameters comprise at least one of displacement parameters and placement angle parameters, the displacement parameters correspond to at least one of the moving speed and the position of the target terminal, and the placement angle parameters correspond to the included angle between the target terminal and a horizontal plane; when the target terminal is determined to reach a first state according to the displacement parameter and/or the placement angle parameter of the target terminal, acquiring a first function identifier corresponding to the first state; and starting the function corresponding to the first function identifier in the target terminal.
Optionally, the instructions may also be executable by a processor of the electronic device to perform other steps involved in the exemplary embodiments described above. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
In an exemplary embodiment, there is also provided an application/computer program product including one or more instructions executable by a processor of an electronic device to perform the above-described method of network monitoring, the method comprising: detecting state parameters of a target terminal, wherein the state parameters comprise at least one of displacement parameters and placement angle parameters, the displacement parameters correspond to at least one of the moving speed and the position of the target terminal, and the placement angle parameters correspond to the included angle between the target terminal and a horizontal plane; when the target terminal is determined to reach a first state according to the displacement parameter and/or the placement angle parameter of the target terminal, acquiring a first function identifier corresponding to the first state; and starting the function corresponding to the first function identifier in the target terminal.
Optionally, the instructions may also be executable by a processor of the electronic device to perform other steps involved in the exemplary embodiments described above.
Fig. 5 is an exemplary diagram of the computer device 30. Those skilled in the art will appreciate that the schematic diagram 5 is merely an example of the computer device 30 and does not constitute a limitation of the computer device 30 and may include more or less components than those shown, or combine certain components, or different components, e.g., the computer device 30 may also include input output devices, network access devices, buses, etc.
The Processor 302 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. The general purpose processor may be a microprocessor or the processor 302 may be any conventional processor or the like, the processor 302 being the control center for the computer device 30 and connecting the various parts of the overall computer device 30 using various interfaces and lines.
Memory 301 may be used to store computer readable instructions 303 and processor 302 may implement various functions of computer device 30 by executing or executing computer readable instructions or modules stored within memory 301 and by invoking data stored within memory 301. The memory 301 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data created according to the use of the computer device 30, and the like. In addition, the Memory 301 may include a hard disk, a Memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash Memory Card (Flash Card), at least one disk storage device, a Flash Memory device, a Read-Only Memory (ROM), a Random Access Memory (RAM), or other non-volatile/volatile storage devices.
The modules integrated by the computer device 30 may be stored in a computer-readable storage medium if they are implemented in the form of software functional modules and sold or used as separate products. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by hardware related to computer readable instructions, which may be stored in a computer readable storage medium, and when the computer readable instructions are executed by a processor, the steps of the method embodiments may be implemented.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It will be understood that the present application is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (10)

1. A method of initiating a function, comprising:
detecting state parameters of a target terminal, wherein the state parameters comprise at least one of displacement parameters and placement angle parameters, the displacement parameters correspond to at least one of the moving speed and the position of the target terminal, and the placement angle parameters correspond to the included angle between the target terminal and a horizontal plane;
when the target terminal is determined to reach a first state according to the displacement parameter and/or the placement angle parameter of the target terminal, acquiring a first function identifier corresponding to the first state;
and starting the function corresponding to the first function identifier in the target terminal.
2. The method of claim 1, wherein the determining that the target terminal reaches the first state based on the displacement parameter of the target terminal comprises:
determining the current geographic area information of the target terminal according to the displacement parameter of the target terminal, and determining whether the target terminal is in a working state or not according to the matching relation between the current geographic area information and preset category area information;
when the target terminal is determined to be in the working state, acquiring an office function identifier corresponding to the working state;
and when the target terminal is determined to be in a non-working state, acquiring a first leisure function identifier corresponding to the non-working state.
3. The method of claim 1 or 2, wherein the determining that the target terminal reaches the first state according to the displacement parameter of the target terminal comprises:
determining the moving rate of the target terminal in a first time period according to the displacement parameter of the target terminal, and determining whether the target terminal is in a motion state or not according to the matching relation between the moving rate and a preset rate interval;
when the target terminal is determined to be in the motion state, obtaining a motion function identifier corresponding to the motion state;
and when the target terminal is determined to be in the non-motion state, acquiring a second leisure function identifier corresponding to the non-motion state.
4. The method of claim 1, wherein the determining that the target terminal reaches the first state according to the placement angle parameter of the target terminal comprises:
determining an included angle between the target terminal and a horizontal plane according to the placement angle parameter of the target terminal, and determining whether the target terminal is in an upcoming use state of a user according to the matching relation between the included angle and a preset angle space;
and when the target terminal is determined to be in the user to-be-used state, acquiring target time period information, and acquiring a second function identifier corresponding to the user to-be-used state based on the current time information.
5. The method of claim 4, wherein the determining whether the target terminal is in an upcoming use state of the user according to the matching relationship between the included angle and a preset angle space comprises:
when detecting that the included angle between the target terminal and the horizontal plane is within a preset time period, the change amplitude is larger than a first angle range, and the included angle between the target terminal and the horizontal plane is larger than a second angle, determining that the target terminal is in an upcoming use state of a user;
and when the included angle between the target terminal and the horizontal plane is detected to be within a preset time period, the change amplitude is larger than a second angle range, and the included angle between the target terminal and the horizontal plane is smaller than the second angle, the target terminal is determined to be in a user use finish state.
6. The method of claim 5, wherein after said determining that the target terminal is an upcoming use state for a user, further comprising:
acquiring the target time period information, and determining whether the current time period is a work attendance time period; if yes, starting a function corresponding to the application program function identifier signed in the target terminal.
7. The method according to claim 5 or 6, wherein after said determining that said target terminal is in a user end-of-use state, further comprising:
acquiring the target time period information and determining whether the current time period is a work completion time period;
if yes, monitoring task completion information to be handled set in the target terminal by the user, and starting a function used for sending the task completion information to be handled to the user in the target terminal.
8. An apparatus for initiating a function, comprising:
the detection module is configured to detect state parameters of a target terminal, wherein the state parameters comprise at least one of displacement parameters and placement angle parameters, the displacement parameters correspond to at least one of the movement rate and the position of the target terminal, and the placement angle parameters correspond to the included angle between the target terminal and a horizontal plane;
the determining module is configured to acquire a first function identifier corresponding to a first state when the target terminal is determined to reach the first state according to the displacement parameter and/or the placement angle parameter of the target terminal;
and the starting module is configured to start the function corresponding to the first function identifier in the target terminal.
9. An electronic device, comprising:
a memory for storing executable instructions; and the number of the first and second groups,
a processor for display with the memory to execute the executable instructions to perform the operations of the method of initiating a function of any of claims 1-7.
10. A computer-readable storage medium storing computer-readable instructions that, when executed, perform the operations of the method of initiating a function of any of claims 1-7.
CN202011337935.0A 2020-11-25 2020-11-25 Method, system, electronic device and medium for starting function Pending CN112433613A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011337935.0A CN112433613A (en) 2020-11-25 2020-11-25 Method, system, electronic device and medium for starting function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011337935.0A CN112433613A (en) 2020-11-25 2020-11-25 Method, system, electronic device and medium for starting function

Publications (1)

Publication Number Publication Date
CN112433613A true CN112433613A (en) 2021-03-02

Family

ID=74697670

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011337935.0A Pending CN112433613A (en) 2020-11-25 2020-11-25 Method, system, electronic device and medium for starting function

Country Status (1)

Country Link
CN (1) CN112433613A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114296818A (en) * 2021-12-23 2022-04-08 展讯通信(天津)有限公司 Automatic application starting method, equipment terminal and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102004550A (en) * 2010-11-30 2011-04-06 振中资讯股份有限公司 Method for controlling handheld electronic device and handheld electronic device
CN105094869A (en) * 2014-05-14 2015-11-25 腾讯科技(深圳)有限公司 Target program determination method and apparatus
CN106406678A (en) * 2016-10-23 2017-02-15 惠州Tcl移动通信有限公司 Method and system of displaying icon of mobile terminal dynamically

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102004550A (en) * 2010-11-30 2011-04-06 振中资讯股份有限公司 Method for controlling handheld electronic device and handheld electronic device
CN105094869A (en) * 2014-05-14 2015-11-25 腾讯科技(深圳)有限公司 Target program determination method and apparatus
CN106406678A (en) * 2016-10-23 2017-02-15 惠州Tcl移动通信有限公司 Method and system of displaying icon of mobile terminal dynamically
US20190377462A1 (en) * 2016-10-23 2019-12-12 JRD Communication (Shenzhen) Ltd. Method and system for dynamically displaying icons of mobile terminal

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114296818A (en) * 2021-12-23 2022-04-08 展讯通信(天津)有限公司 Automatic application starting method, equipment terminal and storage medium
CN114296818B (en) * 2021-12-23 2024-03-22 展讯通信(天津)有限公司 Automatic application starting method, equipment terminal and storage medium

Similar Documents

Publication Publication Date Title
US11616875B2 (en) Messaging application sticker extensions
CN111408136B (en) Game interaction control method, device and storage medium
CN109347722B (en) Interaction system, method, client and background server
US9656173B2 (en) Computer-readable storage medium, information processing apparatus, information processing system, and information processing method
CN107370656B (en) Instant messaging method and device
CN105979312B (en) Information sharing method and device
US20170311024A1 (en) Pre-roll advertisement playing method, terminal, and video server
CN105554522B (en) Method, server and the terminal of audio are played in group
CN112291134B (en) Information prompting method, device, equipment and storage medium
CN110418207B (en) Information processing method, device and storage medium
KR102590492B1 (en) Method, system, and computer program for providing ruputation badge for video chat
CN108228882A (en) The recommendation method and terminal device of a kind of audition for the songs segment
CN106815230A (en) Lyrics page generation method and device
CN105488109A (en) Content item configuration method, device and system
CN107346316A (en) A kind of searching method, device and electronic equipment
CN108521365B (en) Method for adding friends and mobile terminal
CN111435377B (en) Application recommendation method, device, electronic equipment and storage medium
CN107633172A (en) A kind of malicious web pages monitoring method and electronic equipment
CN113115114A (en) Interaction method, device, equipment and storage medium
CN108307039B (en) Application information display method and mobile terminal
CN107562917B (en) User recommendation method and device
CN110929159B (en) Resource release method, device, equipment and medium
CN107544966A (en) A kind of method and electronic equipment for recommending application program
CN108494851B (en) Application program recommended method, device and server
CN112433613A (en) Method, system, electronic device and medium for starting function

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