Disclosure of Invention
The embodiment of the application provides a method and a system for setting a background of a telephone interface, so as to solve the problems that power consumption is serious and operation of the incoming call interface is inconvenient when personalized content display is realized by covering a floating window on the incoming call interface in the prior art.
In order to solve the above problem, in a first aspect, an embodiment of the present invention provides a method for setting a background of a phone interface, where the method is used for a user end device, and the user end device is in communication connection with a cloud end device, and the method includes: when telephone service occurs, acquiring the mobile phone number of the local mobile phone and the opposite mobile phone number, and sending the mobile phone number of the local mobile phone to the cloud equipment; when the phone interface background personalized configuration data corresponding to the phone number of the local phone does not exist in the local phone, receiving the phone interface background personalized configuration data corresponding to the phone number of the local phone from the cloud equipment; determining an individualized content ID according to the opposite mobile phone number and the individualized configuration data of the phone interface background; and when the personalized content corresponding to the personalized content ID exists in the local phone, generating the background of the local phone interface according to the personalized content.
Optionally, before obtaining the phone number of the local phone and the opposite phone number and sending the phone number of the local phone to the cloud device when the phone service occurs, the method for setting the background of the phone interface further includes: acquiring user identity information, wherein the user identity information comprises a mobile phone number of the mobile phone; connecting cloud equipment according to the mobile phone number of the mobile phone; acquiring first personalized configuration data defaulted by a user and second personalized configuration data set for a specified friend; and uploading the first personalized configuration data and the second personalized configuration data to the cloud equipment.
Optionally, the phone interface background personalized configuration data includes first personalized configuration data and second personalized configuration data, and determining a personalized content ID according to the opposite mobile phone number and the phone interface background personalized configuration data includes: and when the mobile phone number of the appointed friend comprises the opposite mobile phone number, determining the personalized content ID according to the second personalized configuration data.
Optionally, the method for setting the background of the telephone interface further includes: and when the mobile phone number of the appointed friend does not comprise the opposite mobile phone number, determining the personalized content ID according to the first personalized configuration data.
Optionally, the method for setting the background of the telephone interface further includes: acquiring local time information; and determining the personalized content ID according to the local time information, the opposite mobile phone number and the personalized configuration data of the phone interface background.
Optionally, the method for setting the background of the telephone interface further includes: when the personalized content corresponding to the personalized content ID does not exist in the mobile terminal, receiving the personalized content corresponding to the personalized content ID from the cloud terminal equipment; and generating the background of the local telephone interface according to the personalized content.
Optionally, the method for setting the background of the telephone interface further includes: acquiring positioning position information of opposite mobile phone numbers; determining weather information of the positioning position according to the positioning position information; and displaying the weather information of the positioning position on the background of the local telephone interface.
Optionally, the method for setting the background of the telephone interface further includes: identifying the attribution corresponding to the opposite mobile phone number according to the opposite mobile phone number; determining weather information of the attribution according to the attribution; and displaying the weather information of the home location on the background of the local telephone interface.
In a second aspect, an embodiment of the present invention provides a setting system for a background of a telephone interface, including: the system comprises user side equipment and cloud side equipment; the customer premise equipment comprises at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to cause the at least one processor to perform a method of setting a context of a telephony interface as in the first aspect or any of the embodiments of the first aspect.
In a third aspect, an embodiment of the present invention provides a computer-readable storage medium, where computer instructions are stored, and the computer instructions are configured to cause a computer to execute a setting method for a context of a telephone interface as in the first aspect or any implementation manner of the first aspect.
The method and the system for setting the background of the telephone interface provided by the embodiment of the invention receive the personalized configuration data of the background of the telephone interface corresponding to the mobile phone number of the local phone from the cloud equipment when the local phone does not have the personalized configuration data of the background of the telephone interface corresponding to the mobile phone number of the local phone by acquiring the mobile phone number and the opposite mobile phone number and sending the mobile phone number of the local phone to the cloud equipment when the telephone has the telephone service, determine the personalized content ID according to the opposite mobile phone number and the personalized configuration data of the background of the telephone interface, generate the background of the telephone interface of the local phone according to the personalized content when the local phone has the personalized content corresponding to the personalized content ID, realize the personalized setting of the telephone interface by setting the background of the telephone interface, and realize the personalized content display without covering a floating window on the telephone interface by app, therefore, the process keep-alive of the app is not needed, the electric quantity of the user side equipment is not additionally consumed, the personalized content is used as the background of the telephone interface, a floating window is not arranged on the telephone interface, the control of the telephone interface is not shielded, and inconvenience is not caused to the operation of the telephone interface; in addition, different personalized content IDs can be set for different mobile phone numbers in advance to form personalized configuration data of the phone interface background, so that when a phone service occurs, the personalized content IDs which the user wants to display can be obtained according to the opposite mobile phone numbers in a matching manner, and the personalized setting requirements of the user on the phone interfaces of different mobile phone numbers can be met; the invention realizes the personalized setting of the telephone interface by setting the background of the telephone interface, not only can support the personalized setting of the background of the incoming call interface of the user terminal, but also can support the personalized setting of the background of the outgoing call interface of the user terminal, thereby supporting the personalized setting of the telephone interface of both ends in the conversation process and meeting the personalized setting requirements of the outgoing call interface and the multi-end telephone interface in the conversation process of the user.
The foregoing description is only an overview of the technical solutions of the present application, and the present application can be implemented according to the content of the description in order to make the technical means of the present application more clearly understood, and the following detailed description of the present application is given in order to make the above and other objects, features, and advantages of the present application more clearly understandable.
Detailed Description
The embodiment of the invention provides a method for setting a background of a telephone interface, which is used for user side equipment, wherein the user side equipment is in communication connection with cloud side equipment, and as shown in figure 1, the method comprises the following steps:
s101, when telephone service occurs, acquiring the mobile phone number of the local mobile phone and the opposite mobile phone number, and sending the mobile phone number of the local mobile phone to cloud equipment; specifically, the occurrence of the telephone service refers to an incoming call or an outgoing call (dialing) from the user side. The mobile phone number of the local phone is the mobile phone number of the user side where the telephone service occurs. The opposite mobile phone number refers to the mobile phone number of the incoming call to the user terminal or the mobile phone number of the outgoing call from the user terminal. When the telephone service occurs, the native telephone service of the system can be replaced by the user terminal equipment, the native telephone interface is called up, and the mobile phone number of the native telephone and the opposite mobile phone number are acquired at the same time.
And S102, when the phone interface background personalized configuration data corresponding to the mobile phone number of the local phone does not exist in the local phone, receiving the phone interface background personalized configuration data corresponding to the mobile phone number of the local phone from the cloud equipment.
In particular, the phone interface background personalization configuration data may be set according to the user's needs. The user can set and store the personalized configuration data of the telephone interface background in the user side equipment, can also upload the personalized configuration data of the telephone interface background set in the user side equipment to the cloud side equipment, and can store the personalized configuration data of the telephone interface background in the cloud side equipment, and can also directly form the personalized configuration data of the telephone interface background in the cloud side equipment. When the personalized configuration data of the telephone interface background is formed in the cloud device, a user can connect the cloud device through the mobile phone number of the user and/or the system account number of the user side device, and upload the personalized content ID and the corresponding personalized content to the cloud device. And the cloud end equipment correspondingly records and stores the personalized content ID uploaded by the user end equipment and the mobile phone number of the specified friend to generate phone interface background personalized configuration data corresponding to the local mobile phone number of the user end equipment. When telephone service occurs, when the phone interface background personalized configuration data corresponding to the mobile phone number of the local machine does not exist in the local machine, the phone interface background personalized configuration data corresponding to the mobile phone number of the local machine can be downloaded from the cloud equipment by taking the mobile phone number of the local machine as a unique identifier.
S103, determining an individualized content ID according to the individualized configuration data of the opposite mobile phone number and the phone interface background; specifically, the personalized content ID is included in the phone interface background personalized configuration data. When the personalized configuration data of the phone interface background corresponding to the mobile phone number of the mobile phone is received, the personalized configuration data of the phone interface background can be analyzed, and then the personalized content ID corresponding to the number is matched according to the opposite mobile phone number in the personalized configuration data of the phone interface background. When the opposite mobile phone number can be matched with the mobile phone number of the appointed friend, the personalized content ID can be determined according to the personalized content ID corresponding to the matched mobile phone number of the appointed friend, and when the opposite mobile phone number cannot be matched with the mobile phone number of the appointed friend, the personalized content ID can be determined according to the personalized content ID corresponding to the mobile phone number of the unspecified friend.
And S104, when the personalized content corresponding to the personalized content ID exists in the mobile phone, generating a background of the mobile phone interface according to the personalized content. Specifically, personalized content includes, but is not limited to, video, pictures, audio, and the like. Whether the personalized content corresponding to the personalized content ID exists in the mobile phone can be obtained through inquiring according to the ID of the personalized content, and when the personalized content corresponding to the personalized content ID exists in the mobile phone, the background of the mobile phone interface can be generated according to the personalized content, so that the personalized setting of the mobile phone interface is realized.
The method for setting the background of the telephone interface provided by the embodiment of the invention comprises the steps of acquiring the mobile phone number and the opposite mobile phone number of the local phone and sending the mobile phone number to the cloud device when telephone service occurs, receiving the personalized configuration data of the background of the telephone interface corresponding to the mobile phone number from the cloud device when the personalized configuration data of the background of the telephone interface corresponding to the mobile phone number does not exist in the local phone, determining the personalized content ID according to the personalized configuration data of the opposite mobile phone number and the background of the telephone interface, generating the background of the telephone interface of the local phone according to the personalized content when the personalized content corresponding to the personalized content ID exists in the local phone, realizing the personalized setting of the telephone interface by setting the background of the telephone interface, realizing the display of the personalized content without covering a suspension window on the telephone interface by an app, and keeping the activity of the app, the electric quantity of the user side equipment cannot be additionally consumed, the personalized content is used as the background of the telephone interface, and the floating window is not arranged on the telephone interface, so that the control of the telephone interface cannot be shielded, and the operation of the telephone interface cannot be inconvenient; in addition, different personalized content IDs can be set for different mobile phone numbers in advance to form personalized configuration data of the phone interface background, so that when a phone service occurs, the personalized content IDs which the user wants to display can be obtained according to the opposite mobile phone numbers in a matching manner, and the personalized setting requirements of the user on the phone interfaces of different mobile phone numbers can be met; the invention realizes the personalized setting of the telephone interface by setting the background of the telephone interface, not only can support the personalized setting of the background of the incoming call interface of the user terminal, but also can support the personalized setting of the background of the outgoing call interface of the user terminal, thereby supporting the personalized setting of the telephone interface of both ends in the conversation process and meeting the personalized setting requirements of the outgoing call interface and the multi-end telephone interface in the conversation process of the user.
In an optional embodiment, in order to better store personalized configuration data of a phone interface background, before acquiring a local phone number and an opposite phone number and sending the local phone number to the cloud device when a phone service occurs, the method for setting the phone interface background further includes: acquiring user identity information, wherein the user identity information comprises a mobile phone number of the mobile phone; connecting cloud equipment according to the mobile phone number of the mobile phone; acquiring first personalized configuration data defaulted by a user and second personalized configuration data set for a specified friend; and uploading the first personalized configuration data and the second personalized configuration data to the cloud equipment.
Specifically, the user end device needs to connect to the cloud end device through user identity information, where the user identity information may include a mobile phone number of the user end device, a system account number of the user end device, a user-defined account number, and the like. The first personalized configuration data which is defaulted by the user means that the user does not set a specified friend in the first personalized configuration data, namely, does not set any mobile phone number. The first personalized configuration data comprises a first personalized content ID. The second personalized configuration data set for the designated friend means that the user sets the designated friend in the second personalized configuration data, that is, sets the mobile phone number of the designated friend, the designated friend may be one or more, the mobile phone number of the same designated friend may also be one or more, and different second personalized configuration data may be set for different designated friends. The second personalized configuration data comprises a second personalized content ID and a mobile phone number of a specified friend. The user can also upload the personalized content corresponding to the first personalized content ID and the second personalized content ID to the cloud device.
The first personalized configuration data and the second personalized configuration data set for the specified friends are uploaded to the cloud end device, so that the first personalized configuration data and the second personalized configuration data can be stored in the cloud end device, the user end device can acquire the first personalized configuration data and the second personalized configuration data from the cloud end device at any time, the first personalized configuration data and the second personalized configuration data can be prevented from being stored in the user end device, and the first personalized configuration data and the second personalized configuration data are prevented from being lost due to damage and replacement of the user end device.
In an optional embodiment, the phone interface background personalized configuration data includes first personalized configuration data and second personalized configuration data, and determining the personalized content ID according to the opposite mobile phone number and the phone interface background personalized configuration data includes: and when the mobile phone number of the appointed friend comprises the opposite mobile phone number, determining the personalized content ID according to the second personalized configuration data.
Specifically, when the personalized configuration data of the phone interface background includes the first personalized configuration data and the second personalized configuration data, the personalized configuration data of the phone interface background includes the mobile phone number of the specified friend and the second personalized content ID corresponding to the mobile phone number. Whether the mobile phone number of the appointed friend comprises the opposite mobile phone number or not can be judged by matching the opposite mobile phone number with the mobile phone number of the appointed friend, when the opposite mobile phone number is the same as the mobile phone number of the appointed friend or the opposite mobile phone number is one of the mobile phone numbers of the appointed friend, the mobile phone number of the appointed friend comprises the opposite mobile phone number, the personalized content ID can be determined according to the second personalized content ID corresponding to the mobile phone number of the appointed friend, and the personalized content ID can be determined by the second personalized content ID corresponding to the mobile phone number of the appointed friend.
The second personalized configuration data is set for the appointed friend, so that the mobile phone number of the appointed friend can be matched with the mobile phone number of the appointed friend according to the opposite mobile phone number when the telephone service occurs, and when the mobile phone number of the appointed friend comprises the opposite mobile phone number, the personalized content ID is determined according to the second personalized configuration data, so that the personalized content ID which the user wants to display can be obtained, and the personalized setting requirement of the user on the telephone interface of the appointed friend can be met.
In an alternative embodiment, the method for setting the background of the phone interface further includes: and when the mobile phone number of the appointed friend does not comprise the opposite mobile phone number, determining the personalized content ID according to the first personalized configuration data.
Specifically, when the opposite mobile phone number is different from the mobile phone number of the designated friend, or the opposite mobile phone number is not any one of the mobile phone numbers of the designated friend, the mobile phone number of the designated friend does not include the opposite mobile phone number, the personalized content ID may be determined according to the first personalized configuration data, and specifically, the personalized content ID may be determined by the first personalized content ID corresponding to the first personalized configuration data.
By setting the first default personalized configuration data of the user, when the opposite mobile phone number is not the mobile phone number of the appointed friend, the personalized content ID can be correspondingly determined, and the requirement of the user on the personalized equipment of the phone interface in the default state can be met.
In an alternative embodiment, the method for setting the background of the phone interface further includes: acquiring local time information; and determining the personalized content ID according to the local time information, the opposite mobile phone number and the personalized configuration data of the phone interface background.
Specifically, when the user sets the personalized configuration data of the phone interface background, the personalized configuration data may be set in different dimensions, for example, when the second personalized configuration data is set for a specific friend, a plurality of different second personalized content IDs may be set for the same specific friend, the setting may be divided into a morning time period, a noon time period, and an evening time period, and a start time point and an end time point may be set for different time periods, so that when a phone service occurs, the user equipment may obtain local time information, and determine the personalized content ID according to the local time information, the opposite mobile phone number, and the personalized configuration data of the phone interface background.
By acquiring the local time information and determining the personalized content ID according to the local time information, the opposite mobile phone number and the personalized configuration data of the phone interface background, the requirements of a user on personalized equipment of the phone interface at different time periods can be met.
In an alternative embodiment, the method for setting the background of the phone interface further includes: when the personalized content corresponding to the personalized content ID does not exist in the mobile terminal, receiving the personalized content corresponding to the personalized content ID from the cloud terminal equipment; and generating the background of the local telephone interface according to the personalized content.
Specifically, when the phone interface personalized configuration data is uploaded to the cloud device, the personalized content corresponding to the personalized content ID is also uploaded, so that when the personalized content corresponding to the personalized content ID does not exist in the mobile phone, the personalized content corresponding to the personalized content ID can be downloaded from the cloud device, and then the background of the phone interface of the mobile phone is generated according to the downloaded personalized content.
When the personalized content corresponding to the personalized content ID does not exist in the mobile phone, the personalized content corresponding to the personalized content ID is received from the cloud equipment, so that the personalized content corresponding to the personalized content ID can be obtained, the background of the mobile phone interface can be generated according to the personalized content, and the requirement of a user on the personalized setting of the mobile phone interface can be met.
In an alternative embodiment, the method for setting the background of the phone interface further includes: acquiring positioning position information of opposite mobile phone numbers; determining weather information of the positioning position according to the positioning position information; and displaying the weather information of the positioning position on the background of the local telephone interface.
Specifically, after the second user side corresponding to the opposite mobile phone number authorizes the positioning authority of the user side corresponding to the local phone, the user side can acquire the positioning position information of the opposite mobile phone number through real-time positioning, upload the positioning position information to the server to acquire the weather information of the positioning position, and display the weather information of the positioning position on the background of the local phone interface.
The weather information of the opposite mobile phone number positioning position can be seen on the phone interface, and more humanized experience is provided for a user.
In an alternative embodiment, the method for setting the background of the phone interface further includes: identifying the attribution corresponding to the opposite mobile phone number according to the opposite mobile phone number; determining weather information of the attribution according to the attribution; and displaying the weather information of the home location on the background of the local telephone interface.
Specifically, when the second user side corresponding to the opposite mobile phone number does not authorize the positioning authority of the user side corresponding to the local mobile phone, the user side can identify the attribution corresponding to the opposite mobile phone number, upload the attribution to the server to obtain the weather information of the attribution, and display the weather information of the attribution on the background of the local phone interface.
The attribution corresponding to the opposite mobile phone number is identified according to the opposite mobile phone number, the weather information of the attribution is determined according to the attribution, and the weather information of the attribution is displayed on the background of the telephone interface of the mobile phone, so that the weather information of the attribution of the opposite mobile phone number can be seen on the telephone interface, and more humanized experience is provided for a user.
Based on the same inventive concept as the method for setting the background of the telephone interface in the embodiment, the invention also provides a system for setting the background of the telephone interface, user side equipment and cloud side equipment; the user end device is in communication connection with the cloud end device, and a computer program is stored on the user end device, and when the computer program is executed by the processor, the steps of any one of the setting methods of the background of the telephone interface are realized.
Where in fig. 2 a bus architecture (represented by bus 300), bus 300 may include any number of interconnected buses and bridges, bus 300 linking together various circuits including one or more processors, represented by processor 302, and memory, represented by memory 304. The bus 300 may also link together various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. A bus interface 306 provides an interface between the bus 300 and the receiver 301 and transmitter 303. The receiver 301 and the transmitter 303 may be the same element, i.e., a transceiver, providing a means for communicating with various other apparatus over a transmission medium.
The processor 302 is responsible for managing the bus 300 and general processing, and the memory 304 may be used for storing data used by the processor 302 in performing operations.
Based on the same inventive concept as the setting method of the background of a telephone interface in the foregoing embodiments, the present invention also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, realizes the steps of:
when telephone service occurs, acquiring the mobile phone number of the local mobile phone and the opposite mobile phone number, and sending the mobile phone number of the local mobile phone to the cloud equipment; when the phone interface background personalized configuration data corresponding to the phone number of the local phone does not exist in the local phone, receiving the phone interface background personalized configuration data corresponding to the phone number of the local phone from the cloud equipment; determining an individualized content ID according to the opposite mobile phone number and the individualized configuration data of the phone interface background; and when the personalized content corresponding to the personalized content ID exists in the local phone, generating the background of the local phone interface according to the personalized content.
In a specific implementation, when the program is executed by a processor, any method step in the first embodiment may be further implemented.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention 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 invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. 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 information processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable information 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 information 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 information 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 invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.