Vehicle-mounted radio station program listening method, radio station APP, vehicle networking server and system
Technical Field
The invention relates to the technical field of vehicles, in particular to a vehicle-mounted radio station program listening method, a radio station APP, a vehicle networking server and a vehicle networking system.
Background
With the improvement of living standard, the self-driving becomes a tool for more people to go out every day, and when listening to radio station broadcasting in driving, the users can only listen to the broadcasting on line and cannot select the radio station programs to request the broadcasting by themselves; in addition, the names of the radio programs may not be remembered, and in the implementation process, the original vehicle-mounted radio technology is a mode of one-way radio station receiving, so that the conventional technology cannot subscribe the radio programs according to the actual requirements of listening users, and in addition, when searching is carried out through a vehicle-mounted APP, high-quality radio programs cannot be obtained, the radio programs need to be manually selected, and if a driver selects the radio programs in the driving process, the safety can be influenced. Generally, subscription-type radio programs of competitive curriculum classes need to be charged for protecting intellectual property rights under normal conditions, but at present, vehicle-mounted radio stations specially aiming at high-quality pay-type radio programs do not appear on a vehicle machine.
Disclosure of Invention
In view of the above drawbacks of the prior art, an object of the present invention is to provide a method for listening to a vehicle-mounted radio program, a radio APP, a vehicle networking server, and a system, which are used to solve the problems that a conventional radio program cannot search for a subscription in a unidirectional reception manner, and a vehicle-mounted radio station for a high-quality pay radio program does not exist in the prior art.
In order to achieve the above and other related objects, the present invention provides a method for listening to a program in a vehicle radio station, which comprises the following steps:
s1, a vehicle networking server receives keywords sent by a radio station APP installed on a vehicle machine; the keywords are extracted by the radio station APP and a user through voice interaction, and are sent to the Internet of vehicles server after being not inquired by a local storage;
s2, the Internet of vehicles server requests an interface from a corresponding provider server through a plurality of network addresses preset in the radio station APP, if the request is successful, network connection is established, and the step S3 is carried out;
s3, the Internet of vehicles server receives program information of the best radio station program searched and obtained in the plurality of provider servers according to the keyword, and the Internet of vehicles server sends the program information to the radio station APP for the user to subscribe; when the car networking server receives the subscription request sent by the radio station APP, the car networking server deducts money according to the subscription amount of the radio station program, if money deduction is successful, the program content provided by the provider server is sent to the radio station APP to be locally stored, and otherwise, the car networking server sends recharging information to the radio station APP.
In an embodiment of the present invention, the program information includes a program name, a program option, a subscription amount, and a keyword corresponding to the program;
in an embodiment of the present invention, the searching for the best radio station program specifically includes:
s31, searching and acquiring a plurality of radio station programs on a plurality of provider servers by the Internet of vehicles server according to the keyword;
s32, acquiring playing media information, playing evaluation information and a user evaluation value of the corresponding radio station program;
s33, if the same program appears in the radio station programs, sequencing is carried out only according to the playing evaluation information, and the best radio station program playing the evaluation information is obtained;
if different programs and the same program exist in the plurality of radio programs, the playing evaluation information of the same program is sorted firstly to obtain the first-sorted radio program, the playing media information, the user evaluation value and the playing evaluation information of the first-sorted radio program and other different programs are sorted respectively, the score corresponding to each program is calculated, and the radio program with the highest score is obtained as the best radio program.
In an embodiment of the present invention, the obtaining of the station program score specifically includes:
the programs are scored according to the following formula, T 1 =x 1 f 1 +x 2 f 2 +x 3 f 3 ;
Wherein, T 1 Representing a station program total score;
x 1 the reciprocal of the ranking of the broadcasting station program in the playing media information is represented;
f 1 a weight representing the playing media information;
x 2 the reciprocal of the ranking rank of the radio station programs in the user evaluation value is shown;
f 2 a weight value representing a user evaluation value;
x 3 marking the reciprocal of ranking of the broadcast evaluation information of the radio station program;
f 3 representing the weight of the play rating information.
In an embodiment of the present invention, the obtained playing media information is a total playing duration of the radio program in a corresponding provider server; and the obtained user evaluation value is that a program evaluation interface is popped up after the user finishes listening to the radio station program, and an evaluation score of the radio station program input on the evaluation interface by the user is received.
In an embodiment of the present invention, the step of obtaining the playing evaluation information includes: detecting whether the radio station program can be played or not, detecting the playing buffer condition, and calculating to obtain the playing evaluation score of the radio station program;
the broadcast evaluation score of the radio station program obtained by calculation is as follows: t is 2 =A–N*B
Wherein, A represents the score of the program of the broadcasting station played by the vehicle; if the radio station program can not be played, marking as 0 point, otherwise, taking the value as 1; n represents the number of times of buffering during broadcasting of the radio station program; b is a preset score value which is larger than 0, namely, each buffering is required to subtract one score of B from the total score.
In an embodiment of the present invention, the subscribing operation in step S3 specifically includes:
s31, a vehicle networking server receives a subscription request sent by a radio station APP, wherein the subscription request comprises a subscription request of a vehicle equipment identification number and program information;
s32, after receiving the subscription request, the Internet of vehicles server sends a deduction request to an account under the corresponding vehicle equipment identification number according to the subscription amount of the program; when the deduction result is that the balance is insufficient, the Internet of vehicles server sends information needing to be recharged to the radio station APP; and after the money deduction result is successful, the car networking server sends money deduction success information and subscription success information to the radio station APP, and sends the program content provided by the provider server to the radio station APP for local storage.
The invention also provides a radio station APP, which is characterized in that the APP is arranged on a vehicle machine and comprises a voice interaction module for acquiring the voice information of a user and extracting keywords, and a local memory for storing the program content of the radio station;
the voice interaction module is respectively connected with the local storage and the vehicle networking server and used for sending the acquired keywords to the vehicle networking server if the acquired keywords are not inquired in the local storage.
The invention also provides a vehicle networking server, which has the innovation points that: the car networking server comprises a control module, a charging module and a radio station program management module;
the control module is respectively connected with the radio station APP, the charging module, the radio station program management module and a plurality of provider servers, the control module requests interfaces to the plurality of provider servers after receiving keywords sent by the radio station APP, and if the requests are successful, network connection is established;
the charging module comprises a plurality of accounts corresponding to the vehicle equipment identification numbers, and is used for changing balance under the corresponding accounts according to the vehicle equipment identification numbers after receiving the subscription request and simultaneously sending the deduction result to the radio station APP through the control module;
one end of the radio station program management module is connected with a plurality of provider servers, and the other end of the radio station program management module is connected with the control module and used for searching the best radio station program in the plurality of provider servers according to the keyword, and simultaneously sending the program information of the radio station program and the program content provided by the provider servers to the radio station APP through the control module when the money deduction is successful;
the invention also provides a vehicle-mounted radio station system, which has the innovation points that: including radio station APP, communication connection in radio station APP's car networking server with preset the corresponding supplier's server of a plurality of network address in the radio station APP. .
As described above, the vehicle station program listening method, the station APP, the vehicle networking server and the vehicle networking system of the invention have the following beneficial effects:
the radio programs are listened to in a subscription mode, mainly aiming at some competitive product payment courses, user voice information is obtained in a voice interaction mode, searching is carried out in a local storage according to keywords preferentially, if the keyword does not exist, the radio programs are obtained in a plurality of supplier servers simultaneously through an internet of vehicles server, the best radio program is selected according to playing media information, user evaluation values and playing evaluation information of the corresponding radio program, the program information of the best radio is displayed on a vehicle machine, the user subscribes, and the fact that the high-quality radio program can be obtained is guaranteed. During subscription, a user does not need to register an account, balance deduction is carried out on the account corresponding to the car machine equipment identification number under the charging module, after the balance deduction is successful, deduction success information is sent to a radio station APP installed in the corresponding car machine and a supplier server, and all deducted fees in the charging module are sent to the account set by a supplier in a unified mode within a certain time.
Drawings
Fig. 1 is a flowchart illustrating a method for listening to a car radio program according to the present invention.
Fig. 2 shows a flowchart of the best station program search of the present invention.
Fig. 3 is a flow chart illustrating the subscription operation of the present invention.
Fig. 4 is a block diagram of the vehicle radio station of the present invention.
Description of the element reference
1. Vehicle machine
11. Radio station APP
12. Local memory
13. Voice interaction module
2. Internet of vehicles server
21. Radio station program management module
22. Control module
23. Charging module
3. Supplier server
S1 to S3
S21 to S23
S31-S32
Detailed Description
The embodiments of the present invention are described below with reference to specific embodiments, and other advantages and effects of the present invention will be easily understood by those skilled in the art from the disclosure of the present specification. The invention is capable of other and different embodiments and of being practiced or of being carried out in various ways, and its several details are capable of modification in various respects, all without departing from the spirit and scope of the present invention. It is to be noted that the features in the following embodiments and examples may be combined with each other without conflict.
It should be noted that the drawings provided in the following embodiments are only for illustrating the basic idea of the present invention, and the components related to the present invention are only shown in the drawings rather than drawn according to the number, shape and size of the components in actual implementation, and the type, quantity and proportion of the components in actual implementation may be changed freely, and the layout of the components may be more complicated.
First embodiment
Referring to fig. 1, the present invention provides a method for listening to a vehicle-mounted radio program, in which a radio APP is downloaded in a vehicle, a plurality of network addresses of provider servers are provided in the radio APP, and when a radio program is searched, a corresponding provider server is searched through a plurality of network addresses of program sources, and the method specifically comprises the following steps:
s1, a vehicle networking server receives keywords sent by radio stations APP installed on a vehicle machine; the keywords are extracted through voice interaction between the radio station APP and the user, and are sent to the Internet of vehicles server after being not inquired in the local storage.
S2, the Internet of vehicles server requests an interface from a corresponding provider server through a plurality of network addresses preset in the radio station APP, if the request is successful, network connection is established, and the step S3 is carried out; the vehicle-mounted machine radio station APP provides a standard web interface through the vehicle networking server; if the provider server supports the web interface, the network connection can be directly established; and if the supplier server does not support the web interface, calling the SDK, and establishing network connection between the vehicle networking server and the supplier server by taking the SDK as a middleware.
And searching corresponding radio programs in a plurality of provider servers according to the keywords, and feeding back the program information of the searched best radio program to the Internet of vehicles server. The program information comprises program names, program period numbers and program subscription amounts. In the process of searching by adopting the keywords, the provider server marks the content of each station program with corresponding keywords, for example, the keywords marked by 'logical thinking' can be logic, thinking and Louis.
S3, the Internet of vehicles server receives program information of the best radio station program searched and obtained in the plurality of provider servers according to the keyword, and the Internet of vehicles server sends the program information to a radio station APP for a user to subscribe; when the car networking server receives the subscription request sent by the radio station APP, the car networking server deducts money according to the subscription amount of the radio station program, if the money deduction is successful, the program content provided by the supplier server is sent to the radio station APP for local storage, and otherwise, the car networking server sends recharging information to the radio station APP.
Further, since the same radio program may exist in multiple provider servers during the search, or different keywords are searched in different servers to obtain multiple different radio programs, and finally a certain radio program is displayed to the user on the car machine, where the radio program is the best radio program among the multiple radio programs, the specific steps of the best radio program search are as follows, see fig. 2:
s21, searching and acquiring a plurality of radio station programs on a plurality of provider servers by the Internet of vehicles server according to the keywords; acquiring playing media information, playing evaluation information and user evaluation values of a plurality of radio station programs;
s22, if the same program appears in the plurality of radio station programs, sequencing is carried out only according to the playing evaluation information, and the best radio station program playing the evaluation information is obtained;
if the programs in the plurality of radio programs are different, sorting different programs according to the playing media information, the user evaluation value and the playing evaluation information, calculating the score corresponding to each program, and selecting the radio program with the highest score as the best radio program.
And acquiring the playing media information, wherein the acquired playing media information is the total playing time of the radio station program in a corresponding provider server.
The method comprises the steps of acquiring user evaluation values, popping up an evaluation interface of the program after the user listens to the radio station program, receiving evaluation scores of the radio station program input on the evaluation interface by the user, wherein the evaluation scores are percentiles, the most satisfactory evaluation is 100, the most unsatisfactory evaluation is 0, the 10-point interval is adopted, and when the user evaluation scores are the same, ranking is carried out in a parallel mode, for example, the scores of two programs are the same, and the 1 st program is arranged in parallel.
The step of obtaining the playing evaluation informationComprises the following steps: detecting whether the radio station program can be played or not, detecting the playing buffer condition, calculating to obtain the playing evaluation score of the radio station program, and obtaining the score according to the following formula: t is a unit of 2 =A–N*B
Wherein, A represents the score of the program of the broadcasting station played by the car machine; if the radio station program can not be played, marking as 0 point, otherwise, taking the value as 1; n represents the number of times of buffering during broadcasting of the radio station program; b is a preset score value which is larger than 0, namely, each time of buffering needs to subtract a score of B from the total score, the numerical value of B in the invention is preset to be 0.2, and when the buffering times N are more than or equal to 5 times, the playing evaluation score T of the radio station program 1 All take the value of 0. Of course, the value 0.2 of B is generally a default value of the installation station APP11, and the user can adjust the value according to actual needs.
Further, the obtaining of the station program score specifically includes: the programs are scored according to the following formula, T 1 =x 1 f 1 +x 2 f 2 +x 3 f 3 ;
Wherein, T 1 Representing a station program total score; x is the number of 1 The reciprocal of the ranking of the broadcasting station program in the playing media information is represented; f. of 1 Represents the weight of playing media information, and the invention is preferably 0.5; x is the number of 2 The reciprocal of the ranking rank of the user evaluation value of the radio station program is represented; f. of 2 The weight value of the user evaluation value is represented, and the weight value is preferably 0.5; x is the number of 3 Marking the reciprocal of the ranking of the broadcast evaluation information of the radio station programs; f. of 3 The weight indicating the play evaluation information is preferably 1 in the present invention.
Further, when the subscription information of the best radio station program is popped up on the car machine interface, the subscription is carried out. The subscription operation specifically includes, please refer to fig. 3:
s31, after receiving the subscription request, the Internet of vehicles server sends a deduction request of the vehicle equipment identification number to a charging module according to the subscription amount of the program; the subscription request comprises a subscription request containing the vehicle-mounted equipment identification number and program information;
and S32, the charging module changes the balance in the account of the vehicle equipment identification number according to the subscription amount, when the deduction result is that the balance is insufficient, the vehicle equipment receives the amount information needing to be recharged, the recharging method can be that the charging module gives a specific two-dimensional code for the vehicle equipment identification number, a user can scan the two-dimensional code through mobile equipment such as a mobile phone to check the balance under the current account and can recharge, and the recharged amount is stored in the account corresponding to the vehicle equipment identification number in the charging module. When the money deduction result is successful, feeding back information of successful money deduction to the vehicle machine, wherein the radio programs are shown as being subscribed and stored in the local memory; meanwhile, the charging module sends the information of successful deduction to a provider server corresponding to the radio station program, and the provider server provides content service.
Second embodiment
The invention also provides a radio station APP, which is arranged on the car machine and comprises a voice interaction module 13 for acquiring the voice information of a user and extracting keywords, and a local memory 12 for storing the program content of the radio station;
the voice interaction module 13 is respectively connected to the local storage 12 and the car networking server 2, and is configured to send the collected keywords to the car networking server 2 if the collected keywords are not found in the local storage 12.
The invention also provides a vehicle networking server, which comprises a control module 22, a charging module 23 and a radio station program management module 21;
the control module 22 is respectively connected with the radio station APP11, the charging module 23, the radio station program management module 21 and the plurality of provider servers 3, the control module 22 requests interfaces to the plurality of provider servers 3 after receiving keywords sent by the radio station APP11, and if the requests are successful, network connection is established;
the charging module 23 includes a plurality of accounts corresponding to the car machine device identification number, and is configured to change a balance under the corresponding account according to the car machine device identification number after receiving the subscription request, and send a deduction result to the radio station APP11 through the control module 22;
one end of the radio station program management module 21 is connected with the plurality of provider servers 3, and the other end of the radio station program management module is connected with the control module 22, and is used for searching the optimal radio station program in the plurality of provider servers 3 according to the keyword, and simultaneously sending the program information of the radio station program and the program content provided by the provider servers 3 to the radio station APP11 through the control module 22 when the money deduction is successful;
referring to fig. 4, the present invention further provides a vehicle-mounted radio station system, which includes the radio station APP11, the car networking server 2 communicatively connected to the radio station APP11, and a provider server 3 preset in the radio station APP11 and having a plurality of network addresses corresponding to each other.
In summary, the present invention aims to provide a method, a station APP, a car networking server, and a system for listening to a station program in a subscription manner, and mainly for some premium paid courses, the method includes obtaining user voice information in a voice interaction manner, preferentially searching in the local storage 12 according to keywords, if not, obtaining the station program in a plurality of provider servers 3 simultaneously through the car networking server 2, and selecting an optimal station program according to play media information, a user evaluation value, and play evaluation information of the corresponding station program, and displaying the program information of the optimal station on the car machine 1, so that the user can subscribe to ensure that a high-quality station program can be obtained. During subscription, a user does not need to register an account, balance deduction is carried out on the account corresponding to the vehicle equipment identification number under the charging module 23, after the balance deduction is successful, deduction success information is sent to the radio station APP11 installed in the corresponding vehicle equipment 1 and the supplier server 3, and all deduction fees in the charging module 23 are sent to the account set by the supplier in a unified mode within a certain time. Therefore, the invention effectively overcomes various defects in the prior art and has high industrial utilization value.
The foregoing embodiments are merely illustrative of the principles and utilities of the present invention and are not intended to limit the invention. Any person skilled in the art can modify or change the above-mentioned embodiments without departing from the spirit and scope of the present invention. Accordingly, it is intended that all equivalent modifications or changes which can be made by those skilled in the art without departing from the spirit and technical spirit of the present invention be covered by the claims of the present invention.