CN115623320B - Method, system, device and medium for controlling claim settlement camera for mobile claim settlement - Google Patents
Method, system, device and medium for controlling claim settlement camera for mobile claim settlement Download PDFInfo
- Publication number
- CN115623320B CN115623320B CN202211177266.4A CN202211177266A CN115623320B CN 115623320 B CN115623320 B CN 115623320B CN 202211177266 A CN202211177266 A CN 202211177266A CN 115623320 B CN115623320 B CN 115623320B
- Authority
- CN
- China
- Prior art keywords
- photo
- photographing
- watermark
- picture
- compressed
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 70
- 238000012545 processing Methods 0.000 claims abstract description 17
- 230000006835 compression Effects 0.000 claims abstract description 13
- 238000007906 compression Methods 0.000 claims abstract description 13
- 230000006870 function Effects 0.000 claims description 31
- 238000012544 monitoring process Methods 0.000 claims description 12
- 230000003993 interaction Effects 0.000 claims description 11
- 238000004590 computer program Methods 0.000 claims description 10
- 238000011835 investigation Methods 0.000 claims description 10
- 230000006978 adaptation Effects 0.000 claims description 7
- 239000000725 suspension Substances 0.000 claims description 5
- 238000012216 screening Methods 0.000 claims description 3
- 238000004806 packaging method and process Methods 0.000 claims 2
- 230000008569 process Effects 0.000 description 7
- 230000005540 biological transmission Effects 0.000 description 5
- 238000004891 communication Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 230000009471 action Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000008520 organization Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/10—Office automation; Time management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T1/00—General purpose image data processing
- G06T1/0021—Image watermarking
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/04—Protocols for data compression, e.g. ROHC
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/83—Generation or processing of protective or descriptive data associated with content; Content structuring
- H04N21/835—Generation of protective data, e.g. certificates
- H04N21/8358—Generation of protective data, e.g. certificates involving watermark
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Business, Economics & Management (AREA)
- Human Resources & Organizations (AREA)
- Strategic Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Physics & Mathematics (AREA)
- Entrepreneurship & Innovation (AREA)
- Computer Security & Cryptography (AREA)
- Economics (AREA)
- Data Mining & Analysis (AREA)
- Marketing (AREA)
- Operations Research (AREA)
- Quality & Reliability (AREA)
- Tourism & Hospitality (AREA)
- General Business, Economics & Management (AREA)
- Multimedia (AREA)
- Studio Devices (AREA)
- Telephone Function (AREA)
Abstract
The invention relates to a method, a system, equipment and a medium for controlling a claim settlement camera for mobile claim settlement, belonging to the field of insurance claim settlement. Firstly, acquiring a photo type selected by a user; then opening a camera view according to the photo type, uniformly adapting a camera preview page and automatically focusing; after automatic focusing, obtaining a current photo shot by a user, carrying out watermark adding and photo compression processing, generating a compressed picture, and uploading the compressed picture; and storing the compressed picture and the corresponding database record to the mobile phone. The method can uniformly adapt the camera preview page according to different Android versions and different mobile phone screen sizes, and can automatically refocus after the mobile phone is monitored to shake, so that the shooting time of a surveyor can be greatly saved, and the working efficiency of the survey and the shooting quality of the pictures are improved.
Description
Technical Field
The invention relates to the technical field of insurance claim settlement, in particular to a claim settlement camera control method, system, equipment and medium for mobile claim settlement.
Background
The insurance claim settlement means that when the insurance label happens and the property of the insured person is lost or the life of the person is damaged, or other insurance accidents agreed by the insurance policy occur and the insurance price needs to be paid, the insurance company performs the action of compensation or responsibility payment according to the contract regulation, and directly reflects the insurance function and the work of performing the insurance responsibility. In short, insurance claims are the act of an insurer processing claims made by the insured after a risk accident of the insured life. In insurance management, insurance claims are a specific implementation of insurance compensation functions.
When the investigation and damage assessment are carried out, investigation personnel carry out on-site investigation by utilizing mobile electronic equipment such as mobile phones and the like. However, most of mobile phones on the market at present need to focus after clicking the photographing middle manually, and the actual operation flow of the survey staff is combined to find out, so that the photographing time is wasted greatly. In addition, due to the fact that the Android system versions installed on the mobile phone and the screen sizes of the mobile phone are different, the quality of shooting of the pictures can be seriously affected due to the fact that the camera preview page and the screen page are not adapted when the screen sizes are different.
Disclosure of Invention
The invention aims to provide a claim settlement camera control method, system, equipment and medium for mobile claim settlement, so as to save the shooting time of a survey staff and improve the work efficiency of the survey and the shooting quality of photos.
In order to achieve the above object, the present invention provides the following solutions:
in one aspect, the present invention provides a method for controlling a claim settlement camera for mobile claim settlement, comprising:
Acquiring a photo type selected by a user; the photo types comprise a photo type and a subtype; the photographing types comprise investigation photographing, document photographing, offline photographing, case photographing and independent photographing; the subtypes include loss photographs, external documents, internal documents, electronic documents, scene of accident photographs, and loss of property photographs;
starting a camera view according to the photo type, uniformly adapting a camera preview page and automatically focusing;
After automatic focusing, obtaining a current photo shot by a user, carrying out watermark adding and photo compression processing, generating a compressed picture, and uploading the compressed picture;
And storing the compressed picture and the corresponding database record to the mobile phone.
Optionally, the opening the camera view according to the photo type, performing unified adaptation on the camera preview page, and performing automatic focusing, specifically includes:
Starting a camera view after the photo type is acquired, and uniformly adapting a camera preview page according to different Android versions and different mobile phone screen sizes;
and monitoring the balance of the mobile phone by acquiring an interface exposed by the Android to the gyroscope, and automatically focusing when the mobile phone is monitored to shake.
Optionally, after the automatic focusing, acquiring a current photo shot by a user, performing watermarking and photo compression processing, generating a compressed picture, and uploading the compressed picture, wherein the method specifically comprises the following steps of:
Acquiring a current photo shot by a user and corresponding watermark information after automatic focusing; the watermark information comprises shooting time, photo type, case type, position information and case number;
obtaining watermark coordinates dragged by a user, adding corresponding watermark information on the current photo according to the watermark coordinates, and generating a picture added with the watermark;
Performing quality compression on the watermarked picture by a bitmap.express method to generate a compressed picture; the compressed picture comprises a compressed thumbnail and a compressed large picture;
And uploading the compressed large graph to a claim settlement system.
Optionally, the uploading the compressed large graph to a claim settlement system specifically includes:
When uploading the compressed large graph to the claim settlement system, monitoring the network by a NetworkInfo method, suspending the image uploading function when monitoring that a network port is disconnected, acquiring data connection information by a getNetInfo method of NetworkInfo after monitoring that the network is recovered, and retransmitting the image until all the compressed large graphs are uploaded to the claim settlement system, and notifying the claim settlement system that the image uploading is finished by an interface mode.
Optionally, the storing the compressed picture and the corresponding database record in the mobile phone specifically includes:
Performing interaction between Android native and front-end by using Cordova plug-in, and generating a database record of the compressed picture; the database records comprise shooting time, user information, a report number, a task number, a picture size, a picture path, a picture name, a successful or failed uploading state and a picture type of the compressed picture;
And storing the compressed picture and the corresponding database record to the mobile phone.
In another aspect, the present invention also provides a claim settlement camera control system for mobile claim settlement, including:
The photo type acquisition module is used for acquiring the photo type selected by the user; the photo types comprise a photo type and a subtype; the photographing types comprise investigation photographing, document photographing, offline photographing, case photographing and independent photographing; the subtypes include loss photographs, external documents, internal documents, electronic documents, scene of accident photographs, and loss of property photographs;
the preview adaptation and automatic focusing module is used for starting a camera view according to the photo type, uniformly adapting a camera preview page and automatically focusing;
The watermark adding and photo compressing module is used for obtaining a current photo shot by a user after automatic focusing, adding watermarks and photo compressing, generating a compressed picture and uploading the compressed picture;
And the warehousing storage module is used for storing the compressed pictures and the corresponding database records to the mobile phone.
In another aspect, the present invention further provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the claim camera control method for mobile claim settlement when the processor executes the computer program.
In another aspect, the present invention also provides a non-transitory computer readable storage medium having stored thereon a computer program that when executed implements the claim camera control method for mobile claim settlement.
According to the specific embodiment provided by the invention, the invention discloses the following technical effects:
The invention provides a method, a system, equipment and a medium for controlling a claim settlement camera for mobile claim settlement, wherein the method comprises the following steps: acquiring a photo type selected by a user; the photo types comprise a photo type and a subtype; the photographing types comprise investigation photographing, document photographing, offline photographing, case photographing and independent photographing; the subtypes include loss photographs, external documents, internal documents, electronic documents, scene of accident photographs, and loss of property photographs; starting a camera view according to the photo type, uniformly adapting a camera preview page and automatically focusing; after automatic focusing, obtaining a current photo shot by a user, carrying out watermark adding and photo compression processing, generating a compressed picture, and uploading the compressed picture; and storing the compressed picture and the corresponding database record to the mobile phone. The method can uniformly adapt the camera preview page according to different Android versions and different mobile phone screen sizes, and can automatically refocus after the mobile phone is monitored to shake, so that the shooting time of a surveyor can be greatly saved, and the working efficiency of the survey and the shooting quality of the pictures are improved.
In addition, the method also supports a self-defined watermark function and a breakpoint continuous transmission function, and the self-defined watermark can prevent the watermark from covering important information in the photo in the shooting process; the breakpoint continuous transmission can stop uploading when the mobile phone is in a network disconnection state, and the uploading can be continued after the network is recovered to be normal, so that the mass transfer quantity and the stability of the photo are ensured.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are needed in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a method for controlling a claim camera for mobile claim settlement provided in an embodiment of the present invention;
FIG. 2 is a schematic diagram of an actual usage process of the claim camera control system for mobile claim settlement according to the embodiment of the present invention;
fig. 3 is a schematic diagram of a watermarked picture according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The invention aims to provide a claim settlement camera control method, system, equipment and medium for mobile claim settlement, so as to save the shooting time of a survey staff and improve the work efficiency of the survey and the shooting quality of photos.
In order that the above-recited objects, features and advantages of the present invention will become more readily apparent, a more particular description of the invention will be rendered by reference to the appended drawings and appended detailed description.
Fig. 1 is a flowchart of a method for controlling a claim settlement camera for mobile claim settlement according to an embodiment of the present invention. Referring to fig. 1, a claim camera control method for mobile claim settlement according to the present invention includes:
step 1: and acquiring the photo type selected by the user.
The user of the method and system of the present invention is typically an inspector of an insurance company. The surveyor clicks the photographing suspension window in each link of the mobile claim settlement, and enters a photographing interface to record the type of photo; the photo types include survey, document, offline, case, individual, etc. The surveyor can select its different sub-types, including loss photos, external documents, internal documents, electronic documents, scene of accident photos, loss of property photos, etc., based on the buttons in the real map, and then take a photograph by type. According to the invention, the camera (camera 1) is packaged and optimized through the Android bottom layer code, so that the self-defined photographing function of the claim settlement camera in the mobile claim settlement process is realized.
The user enters the mobile claim APP installed on the mobile phone, can enter the processing case page from the task card or the click card, and enters the photographing page by clicking the photographing suspension window. According to the Android interaction method, the Android plug-in is used for interaction between the Android native and the front end, and because the Android plug-in is a project developed by adopting android+VUE, functions of a plurality of bottom layers including a photographing function, a positioning function, a mobile phone information acquisition function and the like are realized through the Android native, page display is performed and a plurality of functional services are processed through the VUE, a large amount of interaction with the front end is needed, and the Android interaction method can flexibly use basic functions of the Android to perform service operation.
According to the invention, cordova is further packaged on the official basis, the inheritance CordovaPlugin and the execution method are rewritten, the message sent by Cordova is converted into the java method through reflection, the offline method corresponding to Android is searched, the transmitted parameters are screened according to types, mcpCallbackContext classes are newly added for uniformly capturing error anomalies and processing the error anomalies, so that the interaction is more flexible, and the parameter transmission interaction is more convenient. The type of photographing required is obtained through the front end and then transmitted to the Android end through Cordova, so that the Android end can display and store the type of photographing, and the operations such as screening and the like are carried out on the type of photographing. When developing new photo types, rapid development can be performed through encapsulated plug-ins. The photo types comprise a photo type and a subtype; the photographing types comprise investigation photographing, document photographing, offline photographing, case photographing and independent photographing; the subtype of the photographing type comprises a loss photo, an external document, an internal document, an electronic document, an accident scene photo and a property loss photo.
Step 2: and starting a camera view according to the photo type, uniformly adapting a camera preview page and performing automatic focusing.
Step 2 starts the camera view according to the photo type, performs unified adaptation on the camera preview page and performs automatic focusing, and specifically includes:
Step 2.1: starting a camera view after the photo type is acquired, and uniformly adapting a camera preview page according to different Android versions and different mobile phone screen sizes;
Aiming at different Android versions and different mobile phone screen sizes, the method and the device for adapting the camera preview page are used for carrying out unified adaptation on the camera preview page. Specifically, the canvas when SurfaceView or TextureView is displayed is scaled and shifted according to the size of the preview, and then displayed in SurfaceView or TextureView, and when the size of the screen is inconsistent with the size of the preview, the preview part is intercepted and consistent with the screen.
Step 2.2: and monitoring the balance of the mobile phone by acquiring an interface exposed by the Android to the gyroscope, and automatically focusing when the mobile phone is monitored to shake.
Most of mobile phones on the market at present need to focus after clicking a photographing button manually, and the actual operation flow of a surveyor is combined to find that the photographing time is wasted greatly, so that the method is used for realizing the automatic focusing function of a camera. Specifically, the mobile phone balance is monitored according to the gyroscope in the Android mobile phone, when the mobile phone moves, the focus of the camera is changed, the camera can be monitored by acquiring an interface exposed by the Android to the gyroscope, and when the mobile phone is monitored to shake, focusing can be automatically performed again, so that the shooting time of a surveyor is greatly saved, and the working efficiency of the surveyor is improved.
Step 3: and after automatic focusing, acquiring a current photo shot by a user, carrying out watermark adding and photo compression processing, generating a compressed picture, and uploading.
And 3, acquiring a current photo shot by a user after automatic focusing, adding a watermark and compressing the photo, generating a compressed picture, and uploading the compressed picture, wherein the method specifically comprises the following steps of:
Step 3.1: acquiring a current photo shot by a user and corresponding watermark information after automatic focusing; the watermark information comprises shooting time, photo type, case type, position information and case number.
After focusing, clicking to take a picture, processing the picture according to the direction of a mobile phone screen, setting the size of 960 x 1280 uniform, redrawing the picture to add a watermark, wherein the watermark content generally comprises position information of the picture, picture taking time, picture type, case number of the case and the like, and then compressing the picture in quality.
Step 3.2: and obtaining watermark coordinates dragged by a user, adding corresponding watermark information on the current photo according to the watermark coordinates, and generating a picture added with the watermark.
The invention can support the self-defined watermark position in the shooting interface of the mobile survey APP, when a surveyor drags the watermark, the coordinate dragged by the watermark can be obtained, then the coordinate position is recorded, the watermark is added through the recorded coordinate position when the photo is generated, and the watermark function is added mainly for preventing the watermark from covering important information of the photo in the shooting process.
Step 3.3: performing quality compression on the watermarked picture by a bitmap.express method to generate a compressed picture; the compressed picture comprises a compressed thumbnail and a compressed large picture.
The quality compression is characterized in that the size of a picture file is reduced, but the pixel number of the picture is not changed, the compressed picture is loaded, and the occupied memory is not reduced. The quality compression of the invention is realized by means of bitmap.compression (CompressFormat format, int quality, outputStream stream). The compressed pictures that are usually generated will hold two, one about 10kb compressed thumbnail for list presentation of the lower picture. A compressed large map of around 100kb is used for uploading the claim system. Each group of pictures (including the compressed thumbnail and the compressed large picture) generates a record in the mobile phone database, wherein the record comprises all information (shooting time, user information, report number, task number, picture size, picture path, picture name, status of successful and unsuccessful uploading, picture type and the like) of the pictures. The report number and the photo type are transmitted through the front end.
Step 3.4: and uploading the compressed large graph to a claim settlement system.
The invention can realize the breakpoint continuous transmission function of the photo or the picture. Specifically, when uploading the compressed large graph to the claim settlement system, monitoring the network by using a NetworkInfo method in Android, suspending the image uploading function when monitoring that a network port is disconnected, acquiring data connection information and retransmitting the image by using a getNetInfo method of NetworkInfo after monitoring that the network is recovered until all the compressed large graphs are uploaded to the claim settlement system, and notifying the claim settlement system that the image uploading is completed by using an interface mode.
Step 4: and storing the compressed picture and the corresponding database record to the mobile phone.
According to the method, interaction between Android native and the front end is performed by using a Cordova plug-in, and a database record of the compressed picture is generated; the database records comprise shooting time, user information, a report number, a task number, a picture size, a picture path, a picture name, a successful or failed uploading state and a picture type of the compressed picture; and then storing the compressed picture and the corresponding database record to the mobile phone.
Compared with the prior art, the method has at least the following advantages:
1. aiming at different Android versions and different mobile phone screen sizes, the method and the device solve the problem of screen page unfit of the camera preview page when the screen sizes are different by drawing the side pull of the screen, and improve the photo shooting quality.
2. The invention uses the function of the gyroscope of the mobile phone to automatically focus the shooting of the camera, thereby being convenient for a surveyor to use and improving the shooting quality and shooting efficiency of the photo.
3. The custom watermark function of the invention enables a user to perform custom watermark generation on photo information generated by a camera, is convenient for the user to use, and effectively prevents important information in a photo from being covered by the watermark in the shooting process from being wasted.
4. The breakpoint continuous transmission function of the invention can monitor the mobile phone network, stop uploading when the mobile phone is in a network disconnection state, and continue uploading after the network is recovered to be normal, thereby ensuring that all photos are uploaded and preventing important photos from being lost.
5. At present, after the photos are uploaded to the background by the respective mobile phones on the market, the photos can be blurred, and the shooting blur problem is solved by checking that the shooting blur of the mobile phone photos can be caused by the exposure rate of part of the mobile phones.
6. The shooting and reporting function enables each node of the shot photo to be recorded through the mobile claim log reporting system, and the shooting and reporting function comprises the steps of starting shooting, generating the photo, warehousing the photo, storing the photo, submitting the photo to a result of the claim system and the like, and the flow of the camera function, the model of the mobile phone and the android system version of the mobile phone can be acquired through the report log, so that the problems encountered by a user in the process of using the camera can be rapidly captured through the information and timely solved.
Based on the method provided by the invention, the invention also provides a claim settlement camera control system for mobile claim settlement, which comprises the following steps:
The photo type acquisition module is used for acquiring the photo type selected by the user; the photo types comprise a photo type and a subtype; the photographing types comprise investigation photographing, document photographing, offline photographing, case photographing and independent photographing; the subtypes include loss photographs, external documents, internal documents, electronic documents, scene of accident photographs, and loss of property photographs;
the preview adaptation and automatic focusing module is used for starting a camera view according to the photo type, uniformly adapting a camera preview page and automatically focusing;
The watermark adding and photo compressing module is used for obtaining a current photo shot by a user after automatic focusing, adding watermarks and photo compressing, generating a compressed picture and uploading the compressed picture;
And the warehousing storage module is used for storing the compressed pictures and the corresponding database records to the mobile phone.
The claim settlement camera control system for mobile claim settlement provided by the embodiment of the invention is similar to the claim settlement camera control method for mobile claim settlement described in the above embodiment, and the working principle and the beneficial effects are similar, so that details are not described herein, and specific content can be referred to the description of the above method embodiment.
Fig. 2 is a schematic diagram of an actual usage process of the claim camera control system for mobile claim settlement according to the embodiment of the present invention. Referring to fig. 2, in each link of mobile claim settlement, a survey staff clicks a photographing suspension window and enters a photographing interface, so that the type of photo can be recorded; the photo types include survey, document, offline, case, individual, etc. The surveyor can select different subtypes according to buttons in the real graph, including loss photo, external document, internal document, electronic document, accident scene photo, property loss photo, etc., then take photo by type, store photo in local to the mobile phone, the photo automatically generates watermark, the watermark content includes shooting time, photo type, case type, position information, report number, as shown in fig. 3. The shooting time is the current mobile phone system time, the photo type and the case type are the types selected by the surveyor, the surveyor can position the current position through a positioning function and record the current position into the photo, and the case information is brought into a shooting page through the page jump of the Cordova plug-in, so that the photo and the case information (the case number, the organization code, the user information and the like) are subjected to warehousing processing.
The present invention also provides an electronic device, which may include: a processor, a communication interface, a memory, and a communication bus. The processor, the communication interface and the memory complete communication with each other through buses. The processor may call a computer program in memory to perform the described claim camera control method for mobile claim settlement.
Furthermore, the computer program in the above-described memory may be stored in a computer-readable storage medium when it is implemented in the form of a software functional unit and sold or used as a separate product. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a U disk, a mobile hard disk, a read-only memory, a random access memory, a magnetic disk or an optical disk.
Further, the present invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed, can implement the claim camera control method for mobile claim settlement.
In the present specification, each embodiment is described in a progressive manner, and each embodiment is mainly described in a different point from other embodiments, and identical and similar parts between the embodiments are all enough to refer to each other.
The principles and embodiments of the present invention have been described herein with reference to specific examples, the description of which is intended only to assist in understanding the methods of the present invention and the core ideas thereof; also, it is within the scope of the present invention to be modified by those of ordinary skill in the art in light of the present teachings. In view of the foregoing, this description should not be construed as limiting the invention.
Claims (7)
1. A claim camera control method for mobile claim settlement, comprising:
Acquiring a photo type selected by a user; the photo types comprise a photo type and a subtype; the photographing types comprise investigation photographing, document photographing, offline photographing, case photographing and independent photographing; the subtypes include loss photographs, external documents, internal documents, electronic documents, incident scene photographs, and property loss photographs;
The user enters a mobile claim APP installed on the mobile phone, enters a processing case page from a task card or a click card, and enters a photographing page by clicking a photographing suspension window; the method comprises the steps of performing interaction between Android protogenesis and a front end by using a Cordova plug-in, developing by using android+VUE, realizing functions of a plurality of bottom layers by using the Android protogenesis, including a photographing function, a positioning function and a mobile phone information acquisition function, and performing page display and processing a plurality of functional services by using the VUE;
Further packaging Cordova on the official basis, inheriting CordovaPlugin and rewriting an execution method, converting a message sent by Cordova into a java method through reflection, searching an offline method corresponding to Android, screening the transmitted parameters according to types, adding McpCallbackContext types, and uniformly capturing and processing error anomalies; the type to be photographed is obtained through the front end and then transmitted to the Android end through Cordova, so that the Android end can display and store the type to be photographed and screen the type to be photographed; when a new photographing type is developed, developing through a packaged plug-in;
starting a camera view according to the photo type, uniformly adapting a camera preview page and automatically focusing;
After automatic focusing, obtaining a current photo shot by a user, carrying out watermark adding and photo compression processing, generating a compressed picture, and uploading the compressed picture;
the method comprises the steps of obtaining a current photo shot by a user after automatic focusing, adding watermark and compressing the photo, generating a compressed picture and uploading the compressed picture, and specifically comprises the following steps:
Acquiring a current photo shot by a user and corresponding watermark information after automatic focusing; the watermark information comprises shooting time, photo type, case type, position information and case number;
obtaining watermark coordinates dragged by a user, adding corresponding watermark information on the current photo according to the watermark coordinates, and generating a picture added with the watermark;
supporting a self-defined watermark position in a photographing interface of a mobile exploration APP, acquiring coordinates dragged by the watermark when a surveyor drags the watermark, recording the coordinate position, and adding the watermark through the recorded coordinate position when a photo is generated;
Performing quality compression on the watermarked picture by a bitmap.express method to generate a compressed picture; the compressed picture comprises a compressed thumbnail and a compressed large picture;
Uploading the compressed large graph to a claim settlement system;
And storing the compressed picture and the corresponding database record to the mobile phone.
2. The method for controlling a claim camera for mobile claim 1, wherein the opening a camera view according to the photo type, and performing unified adaptation and automatic focusing on a camera preview page specifically comprises:
Starting a camera view after the photo type is acquired, and uniformly adapting a camera preview page according to different Android versions and different mobile phone screen sizes;
and monitoring the balance of the mobile phone by acquiring an interface exposed by the Android to the gyroscope, and automatically focusing when the mobile phone is monitored to shake.
3. The claim camera control method for mobile claim 1, wherein uploading the compressed large map to a claim settlement system specifically comprises:
When uploading the compressed large graph to the claim settlement system, monitoring the network by a NetworkInfo method, suspending the image uploading function when monitoring that a network port is disconnected, acquiring data connection information by a getNetInfo method of NetworkInfo after monitoring that the network is recovered, and retransmitting the image until all the compressed large graphs are uploaded to the claim settlement system, and notifying the claim settlement system that the image uploading is finished by an interface mode.
4. The method for controlling a claim camera for mobile claim 1, wherein the storing the compressed picture and the corresponding database record to a mobile phone specifically comprises:
Performing interaction between Android native and front-end by using Cordova plug-in, and generating a database record of the compressed picture; the database records comprise shooting time, user information, a report number, a task number, a picture size, a picture path, a picture name, a successful or failed uploading state and a picture type of the compressed picture;
And storing the compressed picture and the corresponding database record to the mobile phone.
5.A claim camera control system for mobile claim settlement, comprising:
The photo type acquisition module is used for acquiring the photo type selected by the user; the photo types comprise a photo type and a subtype; the photographing types comprise investigation photographing, document photographing, offline photographing, case photographing and independent photographing; the subtypes include loss photographs, external documents, internal documents, electronic documents, scene of accident photographs, and loss of property photographs;
The user enters a mobile claim APP installed on the mobile phone, enters a processing case page from a task card or a click card, and enters a photographing page by clicking a photographing suspension window; the method comprises the steps of performing interaction between Android protogenesis and a front end by using a Cordova plug-in, developing by using android+VUE, realizing functions of a plurality of bottom layers by using the Android protogenesis, including a photographing function, a positioning function and a mobile phone information acquisition function, and performing page display and processing a plurality of functional services by using the VUE;
Further packaging Cordova on the official basis, inheriting CordovaPlugin and rewriting an execution method, converting a message sent by Cordova into a java method through reflection, searching an offline method corresponding to Android, screening the transmitted parameters according to types, adding McpCallbackContext types, and uniformly capturing and processing error anomalies; the type to be photographed is obtained through the front end and then transmitted to the Android end through Cordova, so that the Android end can display and store the type to be photographed and screen the type to be photographed; when a new photographing type is developed, developing through a packaged plug-in;
the preview adaptation and automatic focusing module is used for starting a camera view according to the photo type, uniformly adapting a camera preview page and automatically focusing;
The watermark adding and photo compressing module is used for obtaining a current photo shot by a user after automatic focusing, adding watermarks and photo compressing, generating a compressed picture and uploading the compressed picture;
the method comprises the steps of obtaining a current photo shot by a user after automatic focusing, adding watermark and compressing the photo, generating a compressed picture and uploading the compressed picture, and specifically comprises the following steps:
Acquiring a current photo shot by a user and corresponding watermark information after automatic focusing; the watermark information comprises shooting time, photo type, case type, position information and case number;
obtaining watermark coordinates dragged by a user, adding corresponding watermark information on the current photo according to the watermark coordinates, and generating a picture added with the watermark;
supporting a self-defined watermark position in a photographing interface of a mobile exploration APP, acquiring coordinates dragged by the watermark when a surveyor drags the watermark, recording the coordinate position, and adding the watermark through the recorded coordinate position when a photo is generated;
Performing quality compression on the watermarked picture by a bitmap.express method to generate a compressed picture; the compressed picture comprises a compressed thumbnail and a compressed large picture;
Uploading the compressed large graph to a claim settlement system;
And the warehousing storage module is used for storing the compressed pictures and the corresponding database records to the mobile phone.
6. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor, when executing the computer program, implements the claim camera control method for mobile claim 1 to 4.
7. A non-transitory computer-readable storage medium having stored thereon a computer program, wherein the computer program when executed implements the claim camera control method for mobile claim settlement according to any one of claims 1 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211177266.4A CN115623320B (en) | 2022-09-26 | 2022-09-26 | Method, system, device and medium for controlling claim settlement camera for mobile claim settlement |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211177266.4A CN115623320B (en) | 2022-09-26 | 2022-09-26 | Method, system, device and medium for controlling claim settlement camera for mobile claim settlement |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115623320A CN115623320A (en) | 2023-01-17 |
CN115623320B true CN115623320B (en) | 2024-10-22 |
Family
ID=84861106
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211177266.4A Active CN115623320B (en) | 2022-09-26 | 2022-09-26 | Method, system, device and medium for controlling claim settlement camera for mobile claim settlement |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115623320B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102376071A (en) * | 2010-08-20 | 2012-03-14 | 深圳市安致兰德科技有限公司 | Insurance loss mobile inquiring system |
CN106327156A (en) * | 2016-08-23 | 2017-01-11 | 苏州华兴源创电子科技有限公司 | Car damage assessment method, client and system |
CN106780048A (en) * | 2016-11-28 | 2017-05-31 | 中国平安财产保险股份有限公司 | A kind of self-service Claims Resolution method of intelligent vehicle insurance, self-service Claims Resolution apparatus and system |
CN108270971A (en) * | 2018-01-31 | 2018-07-10 | 努比亚技术有限公司 | A kind of method, equipment and the computer readable storage medium of mobile terminal focusing |
CN112911152A (en) * | 2021-01-29 | 2021-06-04 | 北京乐学帮网络技术有限公司 | Preview image generation method, device, equipment and storage medium |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7084903B2 (en) * | 1998-05-18 | 2006-08-01 | International Business Machines Corporation | Image capturing system and method for automatically watermarking recorded parameters for providing digital image verification |
KR102277258B1 (en) * | 2014-02-27 | 2021-07-14 | 엘지전자 주식회사 | Digital device and method of processing application thereof |
CN113422906B (en) * | 2021-06-22 | 2022-08-26 | 平安普惠企业管理有限公司 | Method and device for setting resolution, computer equipment and storage medium |
CN113568661A (en) * | 2021-07-06 | 2021-10-29 | 浙江浙大中控信息技术有限公司 | Method for realizing app mixed development based on Android sdk |
CN114125265B (en) * | 2021-10-19 | 2023-08-25 | 湖南连融科技有限公司 | Public estimation system and method for investigation and damage assessment |
-
2022
- 2022-09-26 CN CN202211177266.4A patent/CN115623320B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102376071A (en) * | 2010-08-20 | 2012-03-14 | 深圳市安致兰德科技有限公司 | Insurance loss mobile inquiring system |
CN106327156A (en) * | 2016-08-23 | 2017-01-11 | 苏州华兴源创电子科技有限公司 | Car damage assessment method, client and system |
CN106780048A (en) * | 2016-11-28 | 2017-05-31 | 中国平安财产保险股份有限公司 | A kind of self-service Claims Resolution method of intelligent vehicle insurance, self-service Claims Resolution apparatus and system |
CN108270971A (en) * | 2018-01-31 | 2018-07-10 | 努比亚技术有限公司 | A kind of method, equipment and the computer readable storage medium of mobile terminal focusing |
CN112911152A (en) * | 2021-01-29 | 2021-06-04 | 北京乐学帮网络技术有限公司 | Preview image generation method, device, equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN115623320A (en) | 2023-01-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10455110B2 (en) | Suggesting image files for deletion based on image file parameters | |
US20060044416A1 (en) | Image file management apparatus and method, program, and storage medium | |
US9547667B2 (en) | Image annotation for image auxiliary information storage and retrieval | |
KR101528216B1 (en) | Photographing processing method and terminal device | |
CN104572922A (en) | Image processing method and device based on mobile equipment | |
JP2011003179A (en) | System and method to view crash dump information using 2-d barcode | |
CN111813629B (en) | Method, device and equipment for generating monitoring data of Web page | |
CN111064621B (en) | Service data docking method and device | |
CN112770040B (en) | Shooting method and device and computer readable storage medium | |
KR20150057736A (en) | Apparatus and Method For Managing Image Files By Displaying Backup Information | |
US20100023555A1 (en) | System and method for associating a file with one or more other files in an online storage system | |
CN111314606B (en) | Photographing method and device, electronic equipment and storage medium | |
CN115623320B (en) | Method, system, device and medium for controlling claim settlement camera for mobile claim settlement | |
JP5788447B2 (en) | Information acquisition system for insurance policy | |
CN106020729A (en) | Clearing method and device for multi-media data of mobile terminal | |
CN111460187B (en) | Picture labeling method, device, equipment and readable storage medium | |
KR20150045820A (en) | Apparatus and Method For Managing Image Files by Using Thumbnail Images | |
CN109656537B (en) | Web application framework supporting various application containers and use method | |
CN106020730A (en) | Clearing method and device for multi-media data of mobile device | |
CN109089150B (en) | Image processing method and electronic device | |
CN118076975A (en) | Data processing method, data processing system, electronic device and storage medium | |
JP2010252075A (en) | Image management apparatus | |
CN112311985A (en) | Multi-shooting processing method and device and storage medium | |
CN113791969B (en) | Debugging method of Android platform camera module, storage medium and terminal equipment | |
US20120170868A1 (en) | Image management method of digital photography device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |