CN112950147A - Scene-based intelligent service adaptation method and system - Google Patents

Scene-based intelligent service adaptation method and system Download PDF

Info

Publication number
CN112950147A
CN112950147A CN202110134182.1A CN202110134182A CN112950147A CN 112950147 A CN112950147 A CN 112950147A CN 202110134182 A CN202110134182 A CN 202110134182A CN 112950147 A CN112950147 A CN 112950147A
Authority
CN
China
Prior art keywords
scene
service
information
current
services
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
CN202110134182.1A
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.)
Beihang University
Original Assignee
Beihang University
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 Beihang University filed Critical Beihang University
Priority to CN202110134182.1A priority Critical patent/CN112950147A/en
Publication of CN112950147A publication Critical patent/CN112950147A/en
Pending legal-status Critical Current

Links

Abstract

The invention provides a method and a system for intelligent adaptation service based on scenes, wherein the method comprises the following steps: step 1, a system acquires scene key information; step 2, judging the current scene of the system according to the acquired key information; step 3, searching services required by the corresponding current scene from the database; and 4, deploying the required service to a system for a user to use, wherein the method is used for solving the problem of troublesome operation of manual adaptation service in the prior art, and is also convenient for non-programming technicians to realize related service functions according to the requirements of the non-programming technicians, thereby realizing the purpose of intelligent adaptation service.

Description

Scene-based intelligent service adaptation method and system
Technical Field
The invention relates to the technical field of computers and artificial intelligence, in particular to a method and a system for intelligent adaptation service based on scenes.
Background
With the development of the internet and artificial intelligence, users, different places and scenes need different services, for example, hospital scenes need registration service, payment service, medicine buying service and the like, library scenes need book checking service, card swiping service, book returning service and the like, and supermarket scenes need queuing and payment service, membership scoring service, commodity weighing service and the like. Different scenes need different services, along with the development of e-commerce, various services are also migrated to the internet and displayed on an intelligent terminal for users to use, for example, numbers can be clicked on terminal equipment to queue up, payment is clicked to settle accounts, and the like, at present, along with the continuous change of scenes, certain cost such as manpower, time and the like is consumed for developing new services, meanwhile, for non-programmers, the needed service functions of the non-programmers need to hire developers, certain capital and time cost are spent, if a plurality of services of a certain scene can be adapted to other scenes, the cost such as the manpower and the time can be saved, and the service efficiency is improved; if under the new scene, a plurality of existing services are found to be available, but various service combinations cannot be perfectly adapted to the overall available services, if the overall available services can be formed according to the existing service intelligent adaptation new scene, if the non-programming technicians can conveniently realize the required service requirement function, the cost of manpower, time and the like can be reduced to a certain degree, and the service adaptation efficiency is improved.
Disclosure of Invention
The invention aims to provide a scene-based intelligent adaptation service method and system, which solve the problems of low service adaptation efficiency, high labor consumption and high time cost in the prior art, and provide a convenient interactive operation mode for users.
The technical scheme of the invention is as follows: a method for intelligent service adaptation based on scenes comprises the following steps:
step 1, a system acquires scene key information;
step 2, judging the current scene of the system according to the acquired key information;
step 3, searching services required by the corresponding current scene from the database;
and 4, deploying the required service to the system for the user to use.
Further, the step 1 of obtaining scene key information includes obtaining current geographical position information, pictures, videos, characters and sound information; specifically, the method comprises the steps of obtaining the current position according to geographical position information; or acquiring scene pictures, videos and character information according to the current scene; or acquiring multi-person alternating current sound information in the scene.
Further, the step 2 judges which scene the scene is in according to the current position;
or judging the scene of the current scene based on the picture and the character information;
or judging the scene of the current scene according to the keywords in the alternating current sound information.
Further, in step 3, after the scene where the service is located is obtained, one or more corresponding services are searched from the corresponding scene in the historical data.
Furthermore, one or more services which are not in the historical data are intelligently constructed according to the scene.
Further, the step 3 includes acquiring the required service and a complete process of service execution in the database according to the scene;
if the listed services can not form a complete flow, intelligently forming a new sub-service according to the complete flow of the scene service and the listed service semantic information;
and forming the sub-service and the service read in the database into a complete service and deploying the complete service at the server.
The invention also provides a system for intelligent adaptation service based on the scene, which comprises:
the acquisition module is used for acquiring scene key information by a system;
the identification module is used for judging the current scene of the system according to the acquired key information;
the query module is used for searching services required by the current scene from the database;
and the deployment module is used for deploying the required service to the system for the user to use.
Further, the acquisition module acquires system scene key information, wherein the information comprises current geographic position information, pictures, videos, characters and sound information; specifically, the method comprises the steps of obtaining the current position according to geographical position information; or acquiring scene pictures, videos and character information according to the current scene; or acquiring multi-person alternating current sound information in the scene.
Further, the identification module judges which scene the scene is in according to the current position;
or judging the scene of the current scene based on the picture and the character information;
or judging the scene of the current scene according to the keywords in the alternating current sound information.
Further, the query module searches one or more corresponding services from the corresponding scenes in the historical data; or one or more services which are not in the historical data are intelligently constructed according to the scene.
Further, the query module acquires the required service and a complete service execution process in the database according to the scene;
and if the listed services cannot form a complete flow, intelligently forming a new sub-service according to the complete flow of the scene service and the listed service semantic information.
Further, the deployment module is used for forming the sub-services and the services read from the database into complete services and deploying the complete services in the server.
Has the advantages that:
the method and the system provided by the invention can intelligently adapt to the service in a new scene, save the labor and time cost brought by artificial development and new service deployment, provide convenient and quick operation for non-programming technicians, provide convenient and quick operation for users, and simultaneously can intelligently generate new service.
Drawings
FIG. 1 is a flow chart of an implementation of the method of the present invention;
fig. 2 is a front-end display interface in a hospital setting.
Detailed Description
In order to make the apparent problems, aspects and advantages of the present invention to be solved more clear, the following detailed description is given with reference to the accompanying drawings and specific embodiments.
The embodiment of the invention provides a scene-based intelligent service adaptation method, which comprises the following steps:
step 1, a system acquires scene key information;
step 2, judging the current scene of the system according to the acquired key information;
step 3, searching services required by the corresponding current scene from the database;
and 4, deploying the required service to the system for the user to use.
Further, the step 1 of obtaining scene key information includes obtaining current geographical position information, pictures, videos, characters and sound information; specifically, the method comprises the steps of obtaining the current position according to geographical position information; or acquiring scene pictures, videos and character information according to the current scene; or acquiring multi-person alternating current sound information in the scene.
Further, the step 2 judges which scene the scene is in according to the current position;
or judging the scene of the current scene based on the picture and the character information;
or judging the scene of the current scene according to the keywords in the alternating current sound information.
Further, in step 3, after the scene where the service is located is obtained, one or more corresponding services are searched from the corresponding scene in the historical data.
Furthermore, one or more services which are not in the historical data are intelligently constructed according to the scene.
Further, the step 3 includes acquiring the required service and a complete process of service execution in the database according to the scene;
if the listed services can not form a complete flow, intelligently forming a new sub-service according to the complete flow of the scene service and the listed service semantic information;
and forming the sub-service and the service read in the database into a complete service and deploying the complete service at the server.
Example one
According to the first embodiment of the invention, scene recognition is carried out by acquiring information such as scene positions and characters, and related services are searched. The method specifically comprises the following steps:
(1) the system database stores service information required by different scenes.
According to an embodiment of the invention, the service information required by different scenes, such as the miniature services in the hospital, such as the login service, the registration service, the checkout service, the registration service and the like, can be a certain programming language development program or a specific service program mirror image, and all the miniature services are combined together to form the service of the whole scene.
The system is a software service system, the software service system comprises a service interface display (which can be a computer web page or a large screen interface of a hospital), the interface displays all micro services under a specific scene in a text or graph mode, the display of the service interface is controlled by a software server of the system, and the software server is responsible for starting the service and running the service.
The system software server is a software program server realized by a programming language Java or python (without limitation), the server can store data in a disk, can also store data in servers such as Aliskiren cloud and the like, and can also read the data from the disk or the Aliskiren cloud.
A specific micro service program or mirror image, for example, registration service, may be a custom and written program, or may be an open-source mirror image service, a software system may run in a hardware computer server device, may run by being deployed on a Tomcat open-source server, may run by a docker technique, or a computer terminal executes a start service command, and this system may also run by being deployed in an aristoloc cluster server, and the like, and this system has a positioning function, so as to be used in step (3).
(2) The system has positioning authority and can acquire the position.
(3) And judging the scene according to the position information. For example, a system deploys a hospital, and can acquire information such as the name, longitude and latitude, location and the like of the hospital; the system is deployed in a library and can acquire geographic information such as the name, the location, the longitude and the latitude of the library.
(4) And searching the corresponding micro-service combination required by the scene from the system database.
(5) And intelligently deploying the required service into the scene server. The deployment in the invention comprises the following processes: a specific micro service, for example, a registration service, may be a written program, or may be an open-source mirror service, a software system runs in a hardware computer server device, and may run by being deployed on a Tomcat open-source server, or may run by using a docker technology, or a computer terminal executes a start service command, and this system may also be deployed and run in an aristoloc cluster server or the like. The deployment function can also be controlled by a software server, the software server monitors the combination function in the step (4) all the time, and once the combination is completed, each micro service is started through a command of executing the starting service in the program.
And (4) combining the micro services required by the scene acquired in the step (4) into an integral service, wherein each service can be executed at a command terminal of a computer server or can be executed by a starting command set by the whole software system, and after the scene server is deployed, all the micro services can be displayed on a system interface for a user to browse and use.
For example, the interface displays a registration service and a payment service, as shown in fig. 2, the user can register in a queue in the hospital by clicking the registration service, click the payment service, display a charged account or two-dimensional code by the payment service, and pay the hospital by the user.
Example two
According to the embodiment of the invention, scene recognition is carried out by acquiring the video and picture information of the scene.
(1) The system database stores service information required by different scenes.
In this embodiment, the processing of the picture information according to the acquired picture, and the judgment of the scene where the picture is located based on the content of the picture are the supplement of the first embodiment.
The system of the second embodiment has a camera function in addition to the display interface and the software server of the first embodiment, and the camera software service in the system continuously controls the camera, continuously acquires picture or video information, and stores the information in the database.
(2) The system has shooting authority and can acquire information such as pictures and videos in scenes.
(3) The scene is judged by using the information such as the shot picture, the shot video and the like through the technologies such as computer vision, pattern recognition and the like. For example, in a hospital, a doctor or a nurse wearing a white gown may exist in a shot video or picture, or a patient sitting in a wheelchair and lying on a bed may exist, and according to the picture or video characteristics, the scene is identified as the hospital. If a large number of commodities, such as diesel oil salt, yogurt, beef and the like, exist in a picture or a video shot in a market, the environment in which the commodity exists can be judged to be the market according to the characteristics of the pictures.
(4) And (4) searching the corresponding service required by the scene from the system database according to the scene in the step (3).
For example, if the scene is determined to be a hospital in step (3), then a registration service, a payment service, a number-taking service, and other micro services are required, each micro service is combined, and executed by a command or a starting command automatically set by the whole system at a server terminal, after each micro service is started, a service system of the whole hospital is formed, and each micro service is displayed on a web page of a computer or a display screen of the hospital, and the required service is deployed in the scene server.
After intelligent deployment, a user can touch a computer screen or a display screen to operate specific micro services.
EXAMPLE III
According to the embodiment of the invention, scene recognition is carried out by acquiring sound information in a scene. The method comprises the following specific steps:
(1) the system database stores service information required by different scenes, and also stores keyword information frequently appearing in specific scenes, such as 'registration' and 'doctor' vocabularies frequently appearing in hospital scenes, and the specific scenes and the vocabularies are correspondingly stored in the database.
(2) The system has the recording authority and can obtain the communication information in the corresponding scene.
(3) And (4) identifying a corresponding scene according to the communication information in the step (2). For example, in a hospital, keywords such as "registration", "purchase of medicine", "doctor" and "pain" are present in a large number in the communication, and the scene can be recognized as a hospital based on these keywords.
If words such as "how much money is one jin", "how to sell", "find a small cart" and the like exist in the exchange in the market, the market can be identified as the scene according to the words.
The system of the third embodiment has a recording function besides the display interface and the software server, and the recording is controlled and started by the software server, monitors voice constantly, and judges a scene according to keywords in the voice.
(4) And searching the system database for the corresponding service required by the scene.
(5) And deploying the required service into the scene server.
(6) After the micro service system is deployed in a server, a corresponding micro service interface is provided in a computer webpage or a display large screen, and a user clicks a specific micro service to complete a corresponding function in a scene. For example, in a shopping mall scene, the shopping mall system has a money collection service, a code scanning service and a commodity adding service, the specific services are displayed on a screen, a user can scan specific commodities by clicking the code scanning service, after all commodities are scanned, the money collection service is clicked, a money collection two-dimensional code or a money collection account is displayed on an interface, and the user can complete the whole shopping mall purchase process by scanning the codes or paying for the accounts.
The whole system has an intelligent service combination method, corresponding services are displayed for a user to operate according to different identified scenes, and the method is simple and rapid.
Example four
According to the embodiment of the invention, if the searched service cannot be adapted to be a whole service, a new service is generated according to the searched service semantic information and the complete process executed by the scene service. The method comprises the following specific steps:
(1) the system database stores service information required by different scenes and a complete execution process of services of different scenes, for example, the complete process of paying for the hospital is ' registration ' -generating an order-paying for the order '.
(2) The system is able to identify different scenarios.
(3) And searching the scene required service from the database according to the identified scene.
(4) And if the searched service cannot be adapted to be an integral service, generating a new service according to the searched service semantic information and the complete flow executed by the scene service. For example, in a hospital scenario, two registration services (registry service) and payment services (payService) are provided in a database, the number of the registered numbers returned by the registration services is arranged, the payment services can be successfully completed only by inputting orders, then a complete adaptive service can be formed only by generating an order service (Orderservice) according to the registration services, the sequence is 'registration-order-payment', a new service mode is specifically generated, the new service mode can be determined according to the programming language of a server and parameters required by each service, in the example, the order service is generated by taking information related to the registration services, such as user names, doctors and the like, as variables, and generating an order service program determined by the variables, the specific generation program can define a service program template in the programming language in advance, and then the parameters are transmitted to the service program template, and the service can return corresponding order IDs, and the following payment service forms corresponding payment forms such as a payment two-dimensional code and the like according to the corresponding order ID.
(5) After the adaptation is successful, the services which are not available are stored in the database, for example, the corresponding docker service image or the corresponding service program is stored.
According to an embodiment of the present invention, there is also provided a system for intelligent scene-based adaptation service, including:
the acquisition module is used for acquiring scene key information by a system;
the identification module is used for judging the current scene of the system according to the acquired key information;
the query module is used for searching services required by the current scene from the database;
and the deployment module is used for deploying the required service to the system for the user to use.
Further, the acquisition module acquires system scene key information, wherein the information comprises current geographic position information, pictures, videos, characters and sound information; specifically, the method comprises the steps of obtaining the current position according to geographical position information; or acquiring scene pictures, videos and character information according to the current scene; or acquiring multi-person alternating current sound information in the scene.
Further, the identification module judges which scene the scene is in according to the current position;
or judging the scene of the current scene based on the picture and the character information;
or judging the scene of the current scene according to the keywords in the alternating current sound information.
Further, the query module searches one or more corresponding services from the corresponding scenes in the historical data; or one or more services which are not in the historical data are intelligently constructed according to the scene.
Further, the query module acquires the required service and a complete service execution process in the database according to the scene;
and if the listed services cannot form a complete flow, intelligently forming a new sub-service according to the complete flow of the scene service and the listed service semantic information.
Further, the deployment module is used for forming the sub-services and the services read from the database into complete services and deploying the complete services in the server.
Example five:
the fifth embodiment supports the operation of non-technical personnel, and under a certain scene, the non-technical personnel can freely combine the required services according to the requirements of the non-technical personnel.
(1) The system database stores service information required by different scenes.
(2) The system has the function of monitoring voice, and the system interface can be displayed in different forms, such as forms, figures and the like.
(3) The audiologist's voice, for example, in a hospital, a non-programming technician such as a doctor, can speak the services required by the hospital, for example, registration services and payment services, to the system front-end interface (screen or web page), and after all the services are spoken, the doctor speaks the services displayed in a form of a table.
(4) After receiving the corresponding language, the system searches out the corresponding service mirror image or program in the database, and automatically deploys the service to the server through a method such as docker or tomcat or command line form starting, and the like, so that the front-end interface can call the service.
(5) The front end of the system displays a form, the required services are displayed in the form, and as shown in fig. 2, a user can obtain different services by clicking and operating a specific form.
Although illustrative embodiments of the present invention have been described above to facilitate the understanding of the present invention by those skilled in the art, it should be understood that the present invention is not limited to the scope of the embodiments, but various changes may be apparent to those skilled in the art, and it is intended that all inventive concepts utilizing the inventive concepts set forth herein be protected without departing from the spirit and scope of the present invention as defined and limited by the appended claims.

Claims (12)

1. A method for intelligent service adaptation based on scenes is characterized by comprising the following steps:
step 1, a system acquires scene key information;
step 2, judging the current scene of the system according to the acquired key information;
step 3, searching services required by the corresponding current scene from the database;
and 4, deploying the required service to the system for the user to use.
2. The method of claim 1,
the step 1 of obtaining scene key information comprises obtaining current geographical position information, pictures, videos, characters and sound information; specifically, the method comprises the steps of obtaining the current position according to geographical position information; or acquiring scene pictures, videos and character information according to the current scene; or acquiring multi-person alternating current sound information in the scene.
3. The method of claim 1, wherein the step 2 determines the scene where the scene is located according to the current location;
or judging the scene of the current scene based on the picture and the character information;
or judging the scene of the current scene according to the keywords in the alternating current sound information.
4. The method for intelligent scene-based adaptation service according to claim 1, comprising: and 3, after the scene where the service is located is obtained, searching one or more corresponding services from the corresponding scene in the historical data.
5. The method for intelligent scene-based adaptation service according to claim 1, comprising: one or more services which are not in the historical data are intelligently constructed according to the scene.
6. A method for intelligent scene-based adaptation service according to claim 5, comprising the steps of: step 3 comprises acquiring the required service and the complete flow of service execution in the database according to the scene;
if the listed services can not form a complete flow, intelligently forming a new sub-service according to the complete flow of the scene service and the listed service semantic information;
and forming the sub-service and the service read in the database into a complete service and deploying the complete service at the server.
7. A system for intelligent scene-based adaptation of services, comprising:
the acquisition module is used for acquiring scene key information by a system;
the identification module is used for judging the current scene of the system according to the acquired key information;
the query module is used for searching services required by the current scene from the database;
and the deployment module is used for deploying the required service to the system for the user to use.
8. The system of claim 7, wherein the obtaining module obtains system scene key information, which includes obtaining current geographic location information, pictures, videos, texts, and sound information; specifically, the method comprises the steps of obtaining the current position according to geographical position information; or acquiring scene pictures, videos and character information according to the current scene; or acquiring multi-person alternating current sound information in the scene.
9. The system of claim 7, wherein the recognition module determines which scene the scene is in according to the current location;
or judging the scene of the current scene based on the picture and the character information;
or judging the scene of the current scene according to the keywords in the alternating current sound information.
10. The system of claim 7, wherein the query module searches the historical data for one or more corresponding services corresponding to the scene; or one or more services which are not in the historical data are intelligently constructed according to the scene.
11. The system of claim 7, wherein the query module obtains the required service and the complete process of service execution according to the scene in the database;
and if the listed services cannot form a complete flow, intelligently forming a new sub-service according to the complete flow of the scene service and the listed service semantic information.
12. The system of claim 7, wherein the deployment module configures the sub-services and the services read from the database into a complete service and deploys the complete service to the server.
CN202110134182.1A 2021-01-29 2021-01-29 Scene-based intelligent service adaptation method and system Pending CN112950147A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110134182.1A CN112950147A (en) 2021-01-29 2021-01-29 Scene-based intelligent service adaptation method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110134182.1A CN112950147A (en) 2021-01-29 2021-01-29 Scene-based intelligent service adaptation method and system

Publications (1)

Publication Number Publication Date
CN112950147A true CN112950147A (en) 2021-06-11

Family

ID=76240390

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110134182.1A Pending CN112950147A (en) 2021-01-29 2021-01-29 Scene-based intelligent service adaptation method and system

Country Status (1)

Country Link
CN (1) CN112950147A (en)

Similar Documents

Publication Publication Date Title
US9934254B2 (en) Terminal apparatus, information processing system, and information processing method
EP2257910B1 (en) Mobile device with image recognition processing capability
US20140149845A1 (en) Method for generating websites
US20170286383A1 (en) Augmented imaging assistance for visual impairment
US20150006333A1 (en) Generating websites and online stores from seed input
US20140149846A1 (en) Method for collecting offline data
US20140149240A1 (en) Method for collecting point-of-sale data
US20080215433A1 (en) Method and apparatus for serving a message in conjunction with an advertisement for display on a world wide web page
CN102356405A (en) Associating rendered advertisements with digital content
US20150007022A1 (en) Generating websites and business documents from seed input
JP5395920B2 (en) Search device, search method, search program, and computer-readable recording medium storing the program
US20140244781A1 (en) Enhanced information delivery
US10761693B2 (en) System for enhanced display of information on a user device
US20190251615A1 (en) Enhanced information delivery during a customer support session
CN109040960A (en) A kind of method and apparatus for realizing location-based service
CN105893404A (en) Natural information identification based pushing system and method, and client
CN105046630A (en) image tag add system
US20120158546A1 (en) System and method for identifying digital articles of commerce with a portable mobile device and linking the article to a social networking site
CN105022773B (en) Image processing system including picture priority
CN105183739B (en) Image processing method
CN112950147A (en) Scene-based intelligent service adaptation method and system
CN105159902A (en) Image processing method based on priority
CN108304067A (en) System, method and apparatus for showing information
CN107180037B (en) Man-machine interaction method and device
CN109102556A (en) The configuration method of edit tool and the generation method of configuration parameter

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